This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
astro-client-interaction@1.1.0
Minor Changes
#83e19eab0 Thanks @leomp12! - Introduces the "idle" value to the client:interaction directive. When set, an interaction will schedule the loading of the component for when the browser is idle, instead of loading it immediately.
---
import Component from "../components/Counter.jsx"
---
<Component client:interaction="idle" />
By default, a component with the client:interaction directive could be loaded before or after the ones with the client:idle directive, depending on the timing of the first interaction. This feature allows client:interaction components to predictably lower loading priority than client:idle components.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
astro-client-interaction@1.1.0
Minor Changes
#83
e19eab0
Thanks @leomp12! - Introduces the "idle" value to theclient:interaction
directive. When set, an interaction will schedule the loading of the component for when the browser is idle, instead of loading it immediately.By default, a component with the
client:interaction
directive could be loaded before or after the ones with theclient:idle
directive, depending on the timing of the first interaction. This feature allowsclient:interaction
components to predictably lower loading priority thanclient:idle
components.