signals
signals copied to clipboard
Version Packages
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
@preact/[email protected]
Major Changes
-
#604
fea3e8dThanks @JoviDeCroock! - Defer all DOM updates by an animation frame, this should make it so that any previously synchronous DOM update will be instead delayed by an animation frame. This allows Preact to first perform its own render cycle and then our direct DOM updates to occur. These will now be performed in a batched way which is more performant as the browser is prepared to handle these during the animation frame.This does impact how Preact based signals are tested, when you perform a signal update, you'll need to wrap it in
act. In a way this was always the case, as a signal update that resulted in a Preact state update would require it to be wrapped inact, but now this is the norm.
Minor Changes
- #595
499428aThanks @JoviDeCroock! - Align signal effects with animation-frames for better performance
@preact/[email protected]
Patch Changes
Deploy Preview for preact-signals-demo ready!
| Name | Link |
|---|---|
| Latest commit | 416740d4711e9489c1a5283de0428ed28c52a169 |
| Latest deploy log | https://app.netlify.com/sites/preact-signals-demo/deploys/6760825ee8358200085db691 |
| Deploy Preview | https://deploy-preview-603--preact-signals-demo.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.