-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Closed
Description
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.
- I tried using the
@types/reactpackage and had problems. - I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
- I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
- Mention the authors (see
Definitions by:inindex.d.ts) so they can respond.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels