Skip to content

Rename returned value of create in examples (root => testRenderer) - #3034

Open
lukehorvat wants to merge 1 commit into
reactjs:mainfrom
lukehorvat:replace-root-with-test-renderer
Open

Rename returned value of create in examples (root => testRenderer)#3034
lukehorvat wants to merge 1 commit into
reactjs:mainfrom
lukehorvat:replace-root-with-test-renderer

Conversation

@lukehorvat

Copy link
Copy Markdown
Contributor

Rename root to testRenderer in the code examples.

create returns a ReactTestRenderer, not a ReactTestInstance (which is what the name root implies).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants