Skip to content

Commit 04811e1

Browse files
danilobuergerhramos
authored andcommitted
Removed performance section from stylesheet as no longer true (#629)
See facebook@a8e3c7f `StyleSheet.create` is now an identity function, the `ReactNativePropRegistry` (`StyleSheetRegistry`) was removed.
1 parent a3abe77 commit 04811e1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/stylesheet.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ Code quality:
3737
* By moving styles away from the render function, you're making the code easier to understand.
3838
* Naming the styles is a good way to add meaning to the low level components in the render function.
3939

40-
Performance:
41-
42-
* Making a stylesheet from a style object makes it possible to refer to it by ID instead of creating a new style object every time.
43-
* It also allows to send the style only once through the bridge. All subsequent uses are going to refer an id (not implemented yet).
44-
4540
### Methods
4641

4742
* [`setStyleAttributePreprocessor`](stylesheet.md#setstyleattributepreprocessor)

0 commit comments

Comments
 (0)