Closed luke-thorburn closed 3 years ago
can you think of any reason why values would be undefined?
conditional hooks (ternary, hooks within hooks that are guarded hence don't always execute, or any condition where the hook is not always used).
you could try to see if you have the same in µland which is based on µhooks instead, and if the problem is still there, then this is likely the answer.
Thanks @WebReflection, this helped me resolve the problem well enough for now (by tweaking some of the guarding variables).
I'm building a moderately sized app using neverland, and am encountering an error that seems to be triggered by the augmentor code.
Specifically, the use of
useEffect
sometimes triggers the following error:Which I have traced back to the
createEffect
function in augmentor:It will be quite a lot of work to create a minimal example so before I do I thought I would ask: can you think of any reason why
values
would be undefined?