Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

fix: use createRef instead of string ref#93

Open
barry800414 wants to merge 1 commit intoNuCivic:masterfrom
barry800414:fix/react-ref-problem
Open

fix: use createRef instead of string ref#93
barry800414 wants to merge 1 commit intoNuCivic:masterfrom
barry800414:fix/react-ref-problem

Conversation

@barry800414
Copy link

if you use newer version of React (e.g. 16.8) ,you may have the following error message:

螢幕快照 2019-05-06 下午5 24 15

This PR can solve it.

The problem comes from React has deprecated string ref in newer version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant