Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/website/docs/learn/03-creating-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This is the same approach used by React Native, so if you are already re-declari

## Suppressing logs on React Native

RSD provides comprehensive runtime warnings and errors to inform developers of about prop and style incompatibilities on native. If there are certain logs that you wish to suppress, this can be done by configuring the [React Native LogBox](https://reactnative.dev/docs/debugging#logbox) at the root of the native app. Messages follow a common structure, which allows for precise or general suppression. For example:
RSD provides comprehensive runtime warnings and errors to inform developers about prop and style incompatibilities on native. If there are certain logs that you wish to suppress, this can be done by configuring the [React Native LogBox](https://reactnative.dev/docs/debugging#logbox) at the root of the native app. Messages follow a common structure, which allows for precise or general suppression. For example:

```js
import { LogBox } from 'react-native';
Expand Down
2 changes: 1 addition & 1 deletion packages/website/docs/learn/04-styling-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function MyComponent() {

### Inherited styles

Inheritance is the process by which elements inherit the the values of properties from their ancestors in the DOM tree. Some properties, e.g. `color`, are automatically inherited by the children of the element to which they are applied. Each property defines whether it will be automatically inherited.
Inheritance is the process by which elements inherit the values of properties from their ancestors in the DOM tree. Some properties, e.g. `color`, are automatically inherited by the children of the element to which they are applied. Each property defines whether it will be automatically inherited.

React Strict DOM currently only supports inheritance for text style properties on native (these style properties can be applied to any element.) The `inherit` or `unset` value can also be set for any of these properties to restore their default behavior.

Expand Down