Routes and (:hash) |
Hi,
In the doc I found something like that (:hash) for routing placeholder - here but I don't know how I should use it. Can anyone tell me that? Thx
There are no difference to (:segment) other than the name. It's just so that you can organize your router differently. So you know what routes you have hashes and need to decode.
You can see a hashids example in this npm package: https://www.npmjs.com/package/hashids |
Welcome Guest, Not a member yet? Register Sign In |