Skip to content

Commit

Permalink
install instruction and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmanning committed Apr 23, 2015
1 parent 63fde0c commit da47aba
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 88 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This makes use of parent context, currently only found on react >= 0.14 in [react master](https://github.com/facebook/react).

To install from react master branch:
```
git clone https://github.com/facebook/react.git
cd react
npm run build
cd npm-react
npm link
```

Then in your project folder:
```
npm link react
```
86 changes: 0 additions & 86 deletions src/container.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/flex.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class FlexContext extends Component {
}

render () {
console.log('Rendering FlexContainer');
console.log('Rendering FlexContext');
return <g>{this.props.children}</g>;
}

Expand Down
1 change: 0 additions & 1 deletion test/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default class App extends Component {
board[i] = i;
}


return (
<svg height="600" width="600">
<FlexContext layout={containerStyle}>
Expand Down

0 comments on commit da47aba

Please sign in to comment.