Hash router #40
-
Hi, I am really liking how Chicane looks! I was wondering is there a way to achieve Hash Routing? For some of my projects, I don't have full control of the environment, so having the routing be fully client side, is a must. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for your interest in Chicane, Hash routing is very limited since it's not compatible with server-side rendering, as hash is not sent to the backend. We do not plan to add this, but feel free to fork and implement it. Note that chicane can be used 100% on the client, it uses History API (similarly as RR BrowserRouter). Hash routing is only needed for extra old browsers or if you are not allowed to use the location path for some reason, this is not related to your backend environment at all. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your interest in Chicane,
Hash routing is very limited since it's not compatible with server-side rendering, as hash is not sent to the backend. We do not plan to add this, but feel free to fork and implement it.
Note that chicane can be used 100% on the client, it uses History API (similarly as RR BrowserRouter). Hash routing is only needed for extra old browsers or if you are not allowed to use the location path for some reason, this is not related to your backend environment at all.