Skip to content

Commit

Permalink
chore: renew url (facebook#1667)
Browse files Browse the repository at this point in the history
* chore: renew url

* Making inputaccessoryview link more flexible

Co-authored-by: R Nabors <rachelnabors@users.noreply.github.com>
  • Loading branch information
Naturalclar and rachelnabors committed Feb 26, 2020
1 parent eacf788 commit 14f861a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions docs/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ You can also use the `async` / `await` syntax in a React Native app:
```jsx
async function getMoviesFromApiAsync() {
try {
let response = await fetch(
'https://reactnative.dev/movies.json',
);
let response = await fetch('https://reactnative.dev/movies.json');
let json = await response.json();
return json.movies;
} catch (error) {
Expand Down Expand Up @@ -134,7 +132,7 @@ export default class App extends Component {
}
componentDidMount() {
fetch('https://facebook.github.io/react-native/movies.json')
fetch('https://reactnative.dev/movies.json')
.then((response) => response.json())
.then((json) => {
this.setState({ data: json.movies });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Three years ago, a GitHub issue was opened to support input accessory view from

<img src="/blog/assets/input-accessory-1.png"/>

In the ensuing years, there have been countless '+1s', various workarounds, and zero concrete changes to RN on this issue - until today. Starting with iOS, [we're exposing an API](http://facebook.github.io/react-native/docs/next/inputaccessoryview.html) for accessing the native input accessory view and we are excited to share how we built it.
In the ensuing years, there have been countless '+1s', various workarounds, and zero concrete changes to RN on this issue - until today. Starting with iOS, [we're exposing an API](/docs/inputaccessoryview) for accessing the native input accessory view and we are excited to share how we built it.

## Background

Expand Down Expand Up @@ -118,6 +118,6 @@ Another example for [Sticky Text Inputs can be found in the repository](https://

## When will I be able to use this?

The full commit for this feature implementation is [here](https://github.com/facebook/react-native/commit/38197c8230657d567170cdaf8ff4bbb4aee732b8). [`<InputAccessoryView>`](http://facebook.github.io/react-native/docs/next/inputaccessoryview.html) will be available in the upcoming v0.55.0 release.
The full commit for this feature implementation is [here](https://github.com/facebook/react-native/commit/38197c8230657d567170cdaf8ff4bbb4aee732b8). [`<InputAccessoryView>`](http://reactnative.dev/docs/next/inputaccessoryview.html) will be available in the upcoming v0.55.0 release.

Happy keyboarding :)

0 comments on commit 14f861a

Please sign in to comment.