Suggestion for naming #313
fkerekiglobant
started this conversation in
Ideas
Replies: 1 comment
-
It should also be quite easy to alter existing lint rules for naming hooks to enforce this convention, if you want it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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");
Beta Was this translation helpful? Give feedback.
All reactions