You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh dear, that documentation seems to be quite out of date :-/
Segments are now called Chunks. I probably should just remove this from the documentation though, as custom matchers are likely to change significantly in a future version.
Ah ok - I'll keep an eye out for future updates. I managed to workaround the issue for now.
Are there any plans to allow for custom chunk types? An application of that would be for making a breadcrumb component that could build the path using all chunks in the current route of a custom type.
I'm struggling to understand how to make a custom matcher following this doc:
https://frontarm.com/navi/en/reference/matchers/#custom-matchers
The doc above talks about needing to return an array of segment objects but I can't see segments in the Types doc:
https://frontarm.com/navi/en/reference/data-types/#segment
The text was updated successfully, but these errors were encountered: