It is now okay to assign to ref.current, see example: https://reactjs.org/docs/hooks-faq.html#is-there-something-like-instance-variables
Trying to assign a value to it gives the error: Cannot assign to 'current' because it is a constant or a read-only property.
It is now okay to assign to
ref.current, see example: https://reactjs.org/docs/hooks-faq.html#is-there-something-like-instance-variablesTrying to assign a value to it gives the error:
Cannot assign to 'current' because it is a constant or a read-only property.@types/reactpackage and had problems.Definitions by:inindex.d.ts) so they can respond.