preactjs / signals

Manage state with style in every framework
https://preactjs.com/blog/introducing-signals/
MIT License
3.82k stars 95 forks source link

computed fn problem #514

Closed Darka7 closed 9 months ago

Darka7 commented 9 months ago

using a signal it does not detect the change in computed, it is only activated once when the value is changed it does not detect it again

"@preact/signals-react": "2.0.0",

XantreDev commented 9 months ago

Can you provide any repro?

Darka7 commented 9 months ago

Hi there! as compiler I use esbuild-loader , I can't Babel Transform @preact/signals-react-transform, I saw that it was solved using useSignals(); in the component, I didn't like that new form or transformation, I returned to @preact/signals-react@1.3.8

greetings!