Closed ishantsolanki closed 4 years ago
Since upgrade to react v16.12, the old way of getting refs throws error that the ref will not be accessible. Assigned the ref using the new useRef hook.
useRef
Sorry I haven't seen this before what with everything going on.
Note to self: I'll have to update the tests and get this into a new major version because of the breaking changes within React.
Since upgrade to react v16.12, the old way of getting refs throws error that the ref will not be accessible. Assigned the ref using the new
useRef
hook.