S
SolidJS3w ago
Eddy

onMount

So in my app there are routes that follow the patter /project/:projid , and I run an onmount function every time I get to it, but there is an issue. Whenever I go from one project to another via /project/:projid -> /project/:projid2 it doesn't run the onmount again. Is there any way to trigger this?
2 Replies
REEEEE
REEEEE3w ago
use createEffect instead
Eddy
EddyOP3w ago
bet this worked

Did you find this page helpful?