lazarv / react-server

The easiest way to build React apps with server-side rendering
https://react-server.dev
MIT License
121 stars 6 forks source link

feat: move @lazarv/react-server-router into @lazarv/react-server #38

Closed lazarv closed 2 months ago

lazarv commented 2 months ago

This PR completely moves the file-system based router from the @lazarv/react-server-router package into the core framework package for an easier setup when using the framework.

The router still works the same way as it was before, omitting the entrypoint when using the react-server CLI will result in using the file-system based router.

This PR also updates the documentation to combine routing solutions into a single section and removes all occurrences mentioning the @lazarv/react-server-router package and it's usage.

Documentation changes also include a slight visual enhancement highlighting the active section in the sidebar and in the header.

This PR completes #24

github-actions[bot] commented 2 months ago

✅ Documentation preview deployed to: https://react-server-docs-cmdv2uqjz-lazarv-team.vercel.app