mizark
<For> throws Cannot access 'product2' before initialization
Hmm I had to do product() && and it at least moved through the error but nothing loads just goes to my fallback even though the data is there on the server side before responding to the client on initial request...
product is a signal set on initial render from result of a create async/ route data. I inject it in context and import it into this file and the parent like this:
(layout).jsx:
(layout)/(page)/product/[id].jsx
7 replies
Noob question: createRenderEffect vs createEffect or onMount
Hmm so here I notice the difference between them here:
https://discord.com/channels/722131463138705510/1098872623762526339/1098872623762526339
Not sure why though as I do not think
itemsCount
is a ref, right?5 replies