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
It'd be really cool if we could use the compiler to do something similiar to Next.js -- something like: components in "page" directory get compiled into routes (with ).
These pages remain normal widgets so they can hold state. useStore, useLocation, etc get's passed as prop to each page widget.
The devs.near/widget/App module and devs.near/widget/Router module currently use pages from an array to create these routes (although not lazily, as alem sorta does). This could be an easy integration for apps using this pattern
The text was updated successfully, but these errors were encountered:
It'd be really cool if we could use the compiler to do something similiar to Next.js -- something like: components in "page" directory get compiled into routes (with ).
These pages remain normal widgets so they can hold state. useStore, useLocation, etc get's passed as prop to each page widget.
The devs.near/widget/App module and devs.near/widget/Router module currently use pages from an array to create these routes (although not lazily, as alem sorta does). This could be an easy integration for apps using this pattern
The text was updated successfully, but these errors were encountered: