You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I move the useFormStore to a store.ts file, I get the following error: Uncaught TypeError: Cannot read properties of undefined (reading '__H') which looks like it
is triggered from useFormStore and something with preact/hooks
This is probably related to Preact. I recommend creating a issue there. I have never heard of this error and don't know what it is related to. Feel free to link me so I can help if necessary.
I am pretty sure this is an error on my part and not a bug.
when I have useFormStore in a component class, it works fine.
app.tsx
But if I move the useFormStore to a store.ts file, I get the following error:
Uncaught TypeError: Cannot read properties of undefined (reading '__H')
which looks like itis triggered from useFormStore and something with preact/hooks
store.ts
and use it in the component like so:
app.tsx
I am pretty sure this has something to so with my coding. Any help pointing out what I am doing wrong is very appreciated.
The text was updated successfully, but these errors were encountered: