preactjs / signals

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

Suggestion for naming #312

Closed fkerekiglobant closed 1 year ago

fkerekiglobant commented 1 year ago

I would propose that signals are always named with a "$" as a prefix (differently from Observables, where it is a suffix) to quickly recognize them.

A signal would then be const $something = signal("some value");