Closed joshbuker closed 3 years ago
I do feel we'll never win this one. React has a variable named __SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED and I've found it in use in production. Your name works though.
Yeah, unfortunately you can only do so much to prevent people from shooting themselves in the foot.
@technion what are your thoughts on this naming scheme?
I think it more clearly conveys the idea that you should not be using it under normal circumstances, although renaming the instance variable to
@insecure_salt
may be a little overkill.