-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates React Tutorial in Gitbooks to remove errors generated in Crea…
…te React App (#500) * Updated to import React, {Component} from 'react' ReactJS Example is broken by: ```jsx class App extends Component { ``` * moved react tap plugin to bottom of imports ReactDOM isn't required, and generates error: Import in body of module; reorder to top import/first * removed import ReactDOM from 'react-dom' from tut ReactDOM isn't used in this example * Fixed comments in JSX to js comments not html because it generates errors * Added comment about importing multiple plugins * removed commented bracket //} Signed-off-by: tgrrr <phil@tgrrr.com> * updated double-tab indentation to match rest of documentation and coding style Signed-off-by: tgrrr <phil@tgrrr.com> * Removed {component} from plugin docs
- Loading branch information
Showing
1 changed file
with
43 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters