Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This isn’t really feasible, think about how dynamic routes can be? Can you generate a route for every ID of a thing?


I have actually seen this approach for SSG. You define a function to get all IDs, then the framework renders all of the pages using those.


Well you could plausibly do this with nano-web, simply disable SPA_MODE and generate your routes in this manner.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: