Skip to content

Commit d205cad

Browse files
committed
Sync changes to unversioned docs
1 parent e243e01 commit d205cad

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

website/versioned_docs/version-0.5/javascript-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Many standards functions are also available on all the supported JavaScript runt
6161

6262
Browser
6363

64-
* [console.{log, warn, error, info, trace, table}](https://developer.chrome.com/devtools/docs/console-api)
64+
* [console.{log, warn, error, info, trace, table, group, groupEnd}](https://developer.chrome.com/devtools/docs/console-api)
6565
* [CommonJS require](https://nodejs.org/docs/latest/api/modules.html)
6666
* [XMLHttpRequest, fetch](network.md#content)
6767
* [{set, clear}{Timeout, Interval, Immediate}, {request, cancel}AnimationFrame](timers.md#content)

website/versioned_docs/version-0.5/navigation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const App = createStackNavigator({
3333
Home: { screen: HomeScreen },
3434
Profile: { screen: ProfileScreen },
3535
});
36+
37+
export default App;
3638
```
3739

3840
Each screen component can set navigation options such as the header title. It can use action creators on the `navigation` prop to link to other screens:

website/versioned_docs/version-0.5/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ fs.writeFile('./packager/modulePaths.js', fileData, err => {
484484
});
485485
```
486486

487-
You can run via `node packager/modulePaths.js`.
487+
You can run via `node packager/generateModulePaths.js`.
488488

489489
This script attempts to map from the module names to module paths. Its not foolproof though, for instance, it ignores platform specific files (\*ios.js, and \*.android.js). However based on initial testing, it handles 95% of cases. When it runs, after some time it should complete and output a file named `packager/modulePaths.js`. It should contain paths to module files that are relative to your projects root. You can commit modulePaths.js to your repo so it is transportable.
490490

website/versioned_docs/version-0.5/state.md

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

55-
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.
55+
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.
5656

5757
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.
5858

0 commit comments

Comments
 (0)