-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Describe the bug
We're encountering a problem while using the solid-primitives/date -> createDateNow method.
Internally it uses the createPolled method from solid-primitives/timer, which is throwing the error
memo()[1] is not a function. (In 'memo()[1](fn)', 'memo()[1]' is undefined)
This issue is only happening for a small subset of users in production. Unfortunately I can't reproduce it in development or stackblitz, and I can't spot any particular trend based on browser or device etc.
Looking at the source, I can't think of any reason why that setter would be undefined, but maybe a maintainer would have a better idea?
We're using the following versions:
@solidjs/start @1.1.7
solid-js @1.9.5
solid-primitives/date @2.1.1
Minimal Reproduction Link
https://stackblitz.com/edit/github-9zo4dpy1?file=src%2FApp.tsx