Releases: preactjs/preact-ssr-prepass
Releases · preactjs/preact-ssr-prepass
v1.2.2
Fixes
- fix:
useId
past Preact 10.11.3 by @rschristian in #61
Maintenance
- chore: Disable Microbundle's type generation by @rschristian in #59
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- add an editorconfig and a testing workflow by @JoviDeCroock in #33
- add _children and _parent + call options._diff by @JoviDeCroock in #47
- Export typings from package.json by @aleksandrjet in #56
New Contributors
- @aleksandrjet made their first contribution in #56
- @rschristian made their first contribution in #58
Full Changelog: v1.2.0...v1.2.1
1.2.0
1.1.3
Support contextType on class components
1.1.2
Prevent components from being pushed into the preact render queue when a setState
or forceUpdate
is invoked. This fixes a memory leak. Thanks @developit !
1.1.1
Allow render()
(and FunctionComponents) to return an array of child nodes. See #12. Thanks to @dios-david !
1.1.0
1.0.2
Skip useEffect
and useLayoutEffect
during prepass as they should not run for SSR
Support hooks and createContext default value in newer versions of preact
- Since
preact
renamedoptions.render
tooptions._render
hooks were broken when using newer versions of preact. This is now fixed. - Since
preact
renamed the property denoting the default value of a createContext provider the default value passed tocreateContext
was never used. This is now fixed