TypeError: Cannot set properties of undefined (setting 'v') #2730
-
I'm having the following code: File: src/text.tsx
File: components/text.tsx
And when I try to run the server, I'm getting the following error:
I know that the problems has to do with the Signal but, I've searched everywhere to learn how they work and what I could have done wrong, and I can't see what I do wrong. The problem is not there if I don't import and use the signal and the components/text.tsx module. |
Beta Was this translation helpful? Give feedback.
Answered by
rschristian
Oct 23, 2024
Replies: 1 comment 4 replies
-
You want
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
rempas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You want
signal
, lower cased.Signal
is the class, i.e.,new Signal(text["def_en"])
would be needed.