SolidJSS
SolidJSβ€’3y agoβ€’
11 replies
arazorda

Search params reactivity in route's data loader function

I've got a problem with search params in route's data function. Basically I've got something like in the screenshot and whenever search param changes, effect is not run, so input value isn't changing.

Do you guys know how can I make this work?

SOLUTION: spreading search doesn't lose reactivity, so I've just spread search const and everything works as intended.
Screenshot_2023-07-13_at_3.15.46_PM.png
Was this page helpful?