10.5.12
This release includes an enhancement to our devtools integration. Via a babel plugin you can get more readable hook names to show up in devtools instead of dozens of useState
hooks in devtools. Check out https://github.com/preactjs/babel-plugin-transform-hook-names for more information.
Before:
After:
Bug Fixes
- Compat: Fix
defaultValue
not applied when value==null/undefined
(#2957, thanks @marvinhagemeister) - Fix HTML comments breaking hydration (#2956, #2960 thanks @marvinhagemeister and @developit)
Maintenance
- Tests: Improve
console.logs
(#2959, thanks @marvinhagemeister) - Remove redundant benchmark initialization (#2966, thanks @andrewiggins)
- Fix pr-reporter condition (#2964, thanks @andrewiggins)
- Report benchmarks on PRs from forks (#2961, thanks @andrewiggins)
- Update size action to only run when src files change (#2962, thanks @andrewiggins)
- Use artifact flow to report benchmarks results (#2953, thanks @andrewiggins)