Is it possible to have a route rerender only a portion of the page with Solid Start
As stated above I want to set up a page where sub routes rather than reloading the entire page just rerender a portion of a for loop so for example:
/home/start/example
will be a page that has a for loop returning <example>
when i click <example> it navigates to:
home/start/example/example2
and rather that reloading the whole page it updates the For loop to return:
<example>
<example2>
Let me know if this makes sens and if there is a method to do this?
2 Replies
May have solve my own questions it appears the <A></A> tag handles rerouting without rerenders
Yes! That is definitely supported w solid's router: https://github.com/solidjs/solid-router#nested-routes
GitHub
GitHub - solidjs/solid-router: A universal router for Solid inspire...
A universal router for Solid inspired by Ember and React Router - GitHub - solidjs/solid-router: A universal router for Solid inspired by Ember and React Router