Incorrect params rendered
SolidStart, FileRoutes
I thought this would work but it renders the previous routes params sometimes. Likely my misunderstanding.
When the route changes a different different component loads and I expected
It is easy to fix by converting
I thought this would work but it renders the previous routes params sometimes. Likely my misunderstanding.
<Params> is a component that is rendered as a child of several route components.When the route changes a different different component loads and I expected
const tableData to get populated with the current params.printParams always logs the passed-in/correct params, but <Params> sometimes renders the params from the previous route.It is easy to fix by converting
tableData to a function const tableData = () => {...}, but I'm would like to understand why the current approach isn't working?
SolidStart