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

Use react-is to check valid components#10

Merged
ericvicenti merged 1 commit intoreact-navigation:masterfrom
janicduplessis:react-is
Oct 19, 2018
Merged

Use react-is to check valid components#10
ericvicenti merged 1 commit intoreact-navigation:masterfrom
janicduplessis:react-is

Conversation

@janicduplessis
Copy link
Copy Markdown
Contributor

The current checks do not work when using things like React.forwardRef. This fixes it by using the react-is package that is made for those checks.

Tested that is works with React.forwardRef components and still fails on invalid components.

@ericvicenti
Copy link
Copy Markdown
Contributor

Looks great, thanks!

@ericvicenti ericvicenti merged commit 612713f into react-navigation:master Oct 19, 2018
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.

3 participants