dancrew32 / yee

parcel -> hookrouter, suspense, createContext, useReducer, useContext pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Managing URLs, Router and path to text gracefully

dancrew32 opened this issue · comments

The routes to components:
https://github.com/dancrew32/yee/blob/master/src/app_router.tsx

The <A> hookrouter links that should be able to reverse those URLs:
https://github.com/dancrew32/yee/blob/master/src/products.tsx#L7

The text that is associated with those routes/URLs.
https://github.com/dancrew32/yee/blob/master/src/nav.tsx#L5-L9

What's the best, not over-engineered way to maintain them?