preactjs / signals

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

re-render problems with React 'signal' #433

Closed fsterling1 closed 8 months ago

fsterling1 commented 8 months ago

I have a problem with very basic React project in respect to rendering page by using 'signal'.
This is the project which is perfectly working in StackBlitz, but doesn't when I run It via visual studio code via 'npm start' in terminal It's not working in the way that it doesn't update the value once the button is pressed.

https://stackblitz.com/edit/stackblitz-starters-cmfkij?file=package.json - it's working here.

all necessary packages installed.

What could be the reason?

fsterling1 commented 8 months ago

@rschristian maybe you could have a look one more time. Sorry for disturbance. It runs perfectly in StackBlitz, but doesn't behave as expected locally. What could be the reason?

rschristian commented 8 months ago

Can't help much without a reproduction, sorry. Nothing really comes to mind.

If you can provide a reproduction of this issue we can reopen, else, it could be any manner of things specific to your system.