Cache dom elements with router
I'm trying to cache dom elements between route changes with
where instead of recreating dom elements between route changes, instead i use pre-created ones
i tried using
instead of
but it prevents me from using the
is there a better way to introduce caching of dom elements?
@solidjs/routerwhere instead of recreating dom elements between route changes, instead i use pre-created ones
i tried using
instead of
but it prevents me from using the
<A> tag to link between pages client-sideis there a better way to introduce caching of dom elements?
