added note about version between react-test-render using with react & react-dom

This commit is contained in:
David Nguyen
2017-12-19 23:37:55 +07:00
parent 6dfa6f782a
commit 2c88f89ec4

View File

@@ -19,6 +19,8 @@ This package provides a React renderer that can be used to render React componen
Essentially, this package makes it easy to grab a snapshot of the platform view hierarchy (similar to a DOM tree) rendered by a React DOM or React Native component without using a browser or [jsdom](https://github.com/tmpvar/jsdom).
**Note:** make sure `react-test-renderer` version is the same with `react`, `react-dom` version.
Example:
```javascript