Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

Use new ref API from React 16 #1

Open
wwilsman opened this issue Jun 18, 2018 · 0 comments
Open

Use new ref API from React 16 #1

wwilsman opened this issue Jun 18, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@wwilsman
Copy link
Contributor

React 16 introduces the React.createRef() API. Callback refs still work, but to be future-minded we should update to the new API.

https://reactjs.org/docs/refs-and-the-dom.html

This only applies to the setupAppForTesting helper.

@wwilsman wwilsman added the enhancement New feature or request label Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant