From 9f08b3359687ecb48a0e4f202607b02a9e68117e Mon Sep 17 00:00:00 2001 From: Dzung Nguyen Date: Sat, 23 Dec 2017 15:10:21 +0700 Subject: [PATCH] added incompatibilities note to installation.md --- content/docs/installation.md | 4 ++++ content/docs/reference-test-renderer.md | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/installation.md b/content/docs/installation.md index 77844cfd2..702bf9bf3 100644 --- a/content/docs/installation.md +++ b/content/docs/installation.md @@ -89,6 +89,10 @@ npm install --save react react-dom Both Yarn and npm download packages from the [npm registry](http://npmjs.com/). +> Note: +> +> To prevent potential incompatibilities, all `react` packages should use the same version (eg `react@16.2.0`, `react-dom@16.2.0`, `react-test-renderer@16.2.0`). + ### Enabling ES6 and JSX We recommend using React with [Babel](http://babeljs.io/) to let you use ES6 and JSX in your JavaScript code. ES6 is a set of modern JavaScript features that make development easier, and JSX is an extension to the JavaScript language that works nicely with React. diff --git a/content/docs/reference-test-renderer.md b/content/docs/reference-test-renderer.md index 94a2bb35f..a3485e9c6 100644 --- a/content/docs/reference-test-renderer.md +++ b/content/docs/reference-test-renderer.md @@ -19,10 +19,6 @@ 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: -> -> To prevent potential incompatibilities, all `react` packages should use the same version (eg `react@16.2.0`, `react-dom@16.2.0`, `react-test-renderer@16.2.0`). - Example: ```javascript