--

Hi Mike,

That's so simple that might slip by unnoticed.

Put the `const count = signal(0);` at any file and then importe it where you need. As simple as that.

I hope that it helps!

David

--

--

David Rodenas PhD
David Rodenas PhD

Written by David Rodenas PhD

Passionate software engineer & storyteller. Sharing knowledge to advance our skills. Join me on a journey of discovery in the world of software engineering.

No responses yet