koordinates / xstate-tree

Build UIs with Actors using xstate and React
MIT License
85 stars 6 forks source link

feat(routing): composable dynamic routes #27

Closed UberMouse closed 1 year ago

UberMouse commented 1 year ago

Overhauls the route creation system to enable composing dynamic routes together. With the previous system only static routes (a fixed url) could be composed together. If you wanted a dynamic URL you were limited to not creating sub routes from it.

Now everything is an equivalent to a dynamic route and the static routes are built ontop of them.

The any type massacre in the create route functions has only gotten worse, sadly.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.0.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: