diff --git a/rescript-relay-documentation/docs/experimental-router.md b/rescript-relay-documentation/docs/experimental-router.md deleted file mode 100644 index 587f4963..00000000 --- a/rescript-relay-documentation/docs/experimental-router.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -id: experimental-router -title: Experimental Router -sidebar_label: Experimental Router ---- - -We're actively iterating on an experimental concurrent mode and suspense ready router designed for RescriptRelay, that enables you to do render-as-you-fetch. This lets you start loading both code and data for route in parallell, and as soon as possible, removing request waterfalls and ensuring routing is as fast and efficient as ever. - -It's not yet publically released, but you can try it out and read about it [here](https://www.npmjs.com/package/rescript-relay-router). diff --git a/rescript-relay-documentation/docs/router.md b/rescript-relay-documentation/docs/router.md new file mode 100644 index 00000000..4a9b7acc --- /dev/null +++ b/rescript-relay-documentation/docs/router.md @@ -0,0 +1,9 @@ +--- +id: router +title: Router +sidebar_label: Router +--- + +The [rescript-relay-router](https://www.npmjs.com/package/rescript-relay-router) is designed for scale, performance and ergonomics. Tailored for usage with `rescript-relay`. A _modern_ router, targeting modern browsers and developer workflows using `vite`. + +Read all about the [rescript-relay-router](https://github.com/zth/rescript-relay-router/blob/main/packages/rescript-relay-router/README.md) at the official repository. diff --git a/rescript-relay-documentation/sidebars.js b/rescript-relay-documentation/sidebars.js index 27f2e281..d66eb900 100755 --- a/rescript-relay-documentation/sidebars.js +++ b/rescript-relay-documentation/sidebars.js @@ -52,7 +52,7 @@ module.exports = { "using-with-hasura", "using-with-schemas-that-dont-conform-to-the-relay-spec", "migrating-from-javascript-typescript-incrementally", - "experimental-router", + "router", "migrating-to-v3", ], Misc: ["the-compiler", "quirks-of-rescript-relay", "examples"],