Make the router starter clearer in readme and showcase Suspense
amoutonbrady opened this issue · 0 comments
amoutonbrady commented
Context
At the moment we have a lovely little starter that showcase the routing capabilities of both Solid and Vite. The issue is that it might not be very clear from simply cloning and peaking at it how it's supposed to work and how Vite and Solid interact with each other.
It would be pretty nice to do a better job at explaining the mechanics in the README of the router template.
In addition, the template is also tryin to showcase how Suspense works with the .data.ts
capability of the router but it's doing a pretty poor job at it.
It would be nice to add some sort of promise in the .data.ts
file and show some sort of loader.
TODO
- Perfect the README
- Add a promise in the
.data.ts
file and show a loader via Suspense while it's loading