hi, i have a catalog page that fetches data from a server and parses it, it works. however when i am using view transitions, the data gets broken and doesnt show anything after i navigate to another page and come back to the catalog page
<div class="flex justify-center items-center h-full mt-6">
<FilterMenu client:load>
<ul slot="type" id="typeList" class="pt-2 text-xl"></ul>
</FilterMenu>
<label for="searchInput"></label>
<div class="relative flex items-center sm:w-96 w-64 ml-3">
<Icon pack="mdi" name="magnify"
class="w-5 h-5 absolute left-[0.7rem] top-[1.2rem] transform -translate-y-1/2 text-gray-400"/>
<input class="w-full rounded-lg border bg-white px-4 py-2 pl-9 text-sm text-black placeholder:text-neutral-500 border-neutral-300"
type="text" id="searchInput" placeholder="Search">
</div>
</div>
<div class="sm:flex max-w-4xl mx-auto pt-6" transition:persist>
// ive added transition:persist but it gets marked as red in webstorm and im not sure if it is working properly
<div id="productList" class="grid sm:grid-cols-3 grid-cols-2 gap-3 sm:mx-6 mx-4 mb-12 sm:mb-0"></div>
</div>
// underneath this is the script code which fetches json from a server and parses it
how can i implement transition:persist?