Skip to content

Releases: oedotme/generouted

v1.11.0

08 Mar 06:29
v1.11.0
fe36d01
Compare
Choose a tag to compare

Changes

New plugin added to generate routes types for Solid Router with generouted conventions. The output is saved by default at src/router.ts and gets updated by the add/change/delete at src/pages/*.

It provides auto-completion for A, useNavigate, useParams and more exported from src/router.ts

Check the plugin readme for to get started guide and usage examples.

Commits

Changelog: v1.10.0...v1.11.0

v1.10.0

06 Mar 21:45
v1.10.0
eb2604c
Compare
Choose a tag to compare

Changes

Two integrations were added to provide non-lazy/non-code-splitting strategy for the following routers and set as default:

  • react-router-dom
  • @solidjs/router

Now the imports for the routers mentioned above provide the non-lazy Routes by default:

  • generouted/react-router
  • generouted/solid-router

To access the equivalent lazy-loaded Routes you need to add -lazy to the integration import:

  • generouted/react-router-lazy
  • generouted/solid-router-lazy

This change will enable switching between both lazy and non-lazy strategies while having the same features and conventions.

Commits

Changelog: v1.9.0...v1.10.0

v1.9.0

05 Mar 18:51
v1.9.0
782a609
Compare
Choose a tag to compare

Changes

React Router plugin generates now only types and type-safe components/hooks/utils:

  • Removed src/routes.gen.tsx and added src/router.ts
  • Use Routes from generouted/react-router instead of src/routes.gen.tsx
  • Use type-safe components, etc. from src/router.ts instead of src/routes.gen.tsx
  • Use Modals from generouted/react-router instead of src/routes.gen.tsx
  • Use useModals from src/router.ts as other hooks

Commits

Changelog: v1.8.0...v1.9.0

v1.8.0

05 Mar 14:37
v1.8.0
58c3cac
Compare
Choose a tag to compare

Changes

Getting started with type-safe global modals with React Router here https://github.com/oedotme/generouted/tree/main/plugins/react-router#type-safe-global-modals

Commits

Changelog: v1.7.20...v1.8.0

v1.7.20

02 Mar 11:14
v1.7.20
c259a02
Compare
Choose a tag to compare

Commits

Changelog: v1.7.19...v1.7.20

v1.7.19

25 Feb 13:20
v1.7.19
3011bbb
Compare
Choose a tag to compare

Commits

Changelog: v1.7.18...v1.7.19

v1.7.18

25 Feb 13:02
v1.7.18
8f9eb92
Compare
Choose a tag to compare

Commits

Changelog: v1.7.17...v1.7.18

v1.7.17

23 Feb 22:11
v1.7.17
8f52a43
Compare
Choose a tag to compare

Commits

Changelog: v1.7.16...v1.7.17

v1.7.16

19 Feb 20:22
v1.7.16
d55f3fe
Compare
Choose a tag to compare

Commits

Changelog: v1.7.15...v1.7.16

v1.7.15

19 Feb 12:37
v1.7.15
2a21aaa
Compare
Choose a tag to compare

Commits

Changelog: v1.7.14...v1.7.15