Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into docusaurus-and-other-deps-bump

� Conflicts:
�	yarn.lock
  • Loading branch information
Simek committed Aug 5, 2022
2 parents fcb99e4 + 95021e4 commit ff64524
Show file tree
Hide file tree
Showing 30 changed files with 3,060 additions and 3,016 deletions.
1 change: 0 additions & 1 deletion docs/build-speed.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ To mitigate this performance hit, this page shares some suggestions on how to **

## Build only one ABI during development (Android-only)

When building your android app locally, you build all the 4 ABIs by default: `armeabi-v7a`, `arm64-v8a`, `x86` & `x86_64`.
When building your android app locally, by default you build all the 4 [Application Binary Interfaces (ABIs)](https://developer.android.com/ndk/guides/abis) : `armeabi-v7a`, `arm64-v8a`, `x86` & `x86_64`.

However, you probably don't need to build all of them if you're building locally and testing your emulator or on a physical device.
Expand Down
8 changes: 7 additions & 1 deletion docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ react-devtools

It should connect to your simulator within a few seconds.

> Note: if you prefer to avoid global installations, you can add `react-devtools` as a project dependency. Add the `react-devtools` package to your project using `npm install --save-dev react-devtools`, then add `"react-devtools": "react-devtools"` to the `scripts` section in your `package.json`, and then run `npm run react-devtools` from your project folder to open the DevTools.
:::info
If connecting to the emulator proves troublesome (especially Android 12), try running `adb reverse tcp:8097 tcp:8097` in a new terminal.
:::

:::info
If you prefer to avoid global installations, you can add `react-devtools` as a project dependency. Add the `react-devtools` package to your project using `npm install --save-dev react-devtools`, then add `"react-devtools": "react-devtools"` to the `scripts` section in your `package.json`, and then run `npm run react-devtools` from your project folder to open the DevTools.
:::

### Integration with React Native Inspector

Expand Down
5 changes: 4 additions & 1 deletion docs/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,10 @@ More details about `resize` and `scale` can be found at http://frescolib.org/doc

Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.

- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that

- both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
- at least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)

- `contain`: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).

Expand Down
Loading

0 comments on commit ff64524

Please sign in to comment.