diff --git a/README.md b/README.md index 510084aa4..5ed2ead3e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ * __[Using it in your project](#using-it-in-your-project)__ - * [Running tests in your project](#running-tests-in-your-project) + * [Running tests in your project](#running-tests-in-your-project) * __[Anatomy of an OverReact component](#anatomy-of-an-overreact-component)__ * [UiFactory](#uifactory) * [UiProps](#uiprops) @@ -32,31 +32,31 @@ ## Using it in your project > __If you are not familiar with React JS__ -> -> Since OverReact is built atop React JS, we strongly encourage you to gain -> familiarity with it by reading this [React JS tutorial][react-js-tutorial] first. +> +> Since OverReact is built atop React JS, we strongly encourage you to gain +> familiarity with it by reading this [React JS tutorial][react-js-tutorial] first. 1. Add the `over_react` package as a dependency in your `pubspec.yaml`. - + ```yaml dependencies: over_react: "^1.3.0" ``` - + 2. Add the `over_react` [transformer] to your `pubspec.yaml`. - + ```yaml transformers: - over_react # Reminder: dart2js should come after any other transformers that touch Dart code - $dart2js ``` - - _Our transformer uses code generation to wire up the different pieces of your + + _Our transformer uses code generation to wire up the different pieces of your component declarations - and to create typed getters/setters for `props` and `state`._ -3. Include the native JavaScript `react` and `react_dom` libraries in your app’s `index.html` file, -and add an HTML element with a unique identifier where you’ll mount your OverReact UI component(s). +3. Include the native JavaScript `react` and `react_dom` libraries in your app’s `index.html` file, +and add an HTML element with a unique identifier where you’ll mount your OverReact UI component(s). ```html @@ -67,7 +67,7 @@ and add an HTML element with a unique identifier where you’ll mount your OverR