Skip to content

Commit 57710fb

Browse files
sarath263charpeni
authored andcommitted
Added Mobx to the documentation (facebook#439)
Since Mobx is also very Popular and gaining popularity of it's Reactive way, Requesting Mobx should also needed to be added to the React native docs.
1 parent 7e2117a commit 57710fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default class BlinkApp extends Component {
5151
AppRegistry.registerComponent('AwesomeProject', () => BlinkApp);
5252
```
5353

54-
In a real application, you probably won't be setting state with a timer. You might set state when you have new data arrived from the server, or from user input. You can also use a state container like [Redux](https://redux.js.org/) to control your data flow. In that case you would use Redux to modify your state rather than calling `setState` directly.
54+
In a real application, you probably won't be setting state with a timer. You might set state when you have new data arrived from the server, or from user input. You can also use a state container like [Redux](https://redux.js.org/) or [Mobx](https://mobx.js.org/) to control your data flow. In that case you would use Redux or Mobx to modify your state rather than calling `setState` directly.
5555

5656
When setState is called, BlinkApp will re-render its Component. By calling setState within the Timer, the component will re-render every time the Timer ticks.
5757

0 commit comments

Comments
 (0)