Releases: oedotme/generouted
Releases · oedotme/generouted
v1.19.9
v1.19.8
Commits
- fix: ensure internal browser router is instantiated once (#182) 8faed5a by @ethanwu10 fixes #181
Changelog: v1.19.7...v1.19.8
v1.19.7
Commits
- chore: update packages 57b6697 by @oedotme
- fix: react browser router registration w/ custom usage edafb69 by @oedotme fixes #180
- chore: update packages a3fb166 by @oedotme
- chore: update packages b025ca5 by @oedotme
- docs: update example link (#176) 3dde75f by @henrikvilhelmberglund
- chore: update packages 7926bde by @oedotme
- chore: update badges a3b4971 by @oedotme
Changelog: v1.19.6...v1.19.7
v1.19.6
v1.19.5
v1.19.4
v1.19.3
v1.19.2
v1.19.1
v1.19.0
Breaking Changes 🚨
Modals
export is now removed from the following integrations:
@generouted/react-router
@generouted/react-router/lazy
@generouted/solid-router
@generouted/solid-router/lazy
<Modals />
component is now included internally within the <Routes />
component by default
This export was usually used at the highest available layout route src/pages/_app.tsx
(as it requires the router context) but it was causing initialization/circular errors as the _app.tsx
file is imported by the file that exports Modals
component. This is reproducible by triggering HMR updates when _app.tsx
is modified. Also in some cases it cause kind of infinite revalidation triggered by this error.
-import { Modals } from '@generouted/react-router'
-import { Modals } from '@generouted/react-router/lazy'
-import { Modals } from '@generouted/solid-router'
-import { Modals } from '@generouted/solid-router/lazy'
export default function App() {
return (
<section>
<main>...</main>
- <Modals />
</section>
)
}
Commits
- feat!: remove modals export to fix circular and initialization errors 741a5e8 by @oedotme
- chore: update packages 3d75bdd by @oedotme
Changelog: v1.18.8...v1.19.0