preact-iso 2.0.0
marvinhagemeister
released this
02 May 09:16
·
758 commits
to main
since this release
Major Changes
8e8690a
#557 Thanks @marvinhagemeister! - Fix route params being able to overwrite route context. This is a breaking change in that params no need to be pulled off aparams
object instead of accessing it directly
// Example route: /foo/:id
// before
const id = useRoute().id
// after
const id = useRoute().params.id
Patch Changes
-
8a44d75
#571 Thanks @developit! - preact-iso: fix ErrorBoundary pushing invalid callback into commit queue -
6f93a06
#567 Thanks @marvinhagemeister! - Update preact/iso TypeScript types -
c7ca0a4
#555 Thanks @marvinhagemeister! - Fix crash when passing dynamic arrays as children. This was caused by missing children normalization.