Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2fcfed

Browse files
authored
Update README.md
updates to best practices
1 parent360e40d commitb2fcfed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ _Do_: Name things for what they are or do, not if they are connected to state. E
6060

6161
###What kind of state to get
6262

63-
_Don’t_: Fetch objects and pass the object or their fields around to other components through component properties.
63+
_Don’t_: Fetch objects and pass the object or their fields around to other components through component properties. Usually referred to as “Prop Drilling”.
6464

65-
_Do_:[Fetch primitive values that will be used for rendering or logic, like strings, bools, numbers, etc](https://redux.js.org/style-guide/style-guide#call-useselector-multiple-times-in-function-components). If rendering lists of things,fetch the hashmaporarray to render the list, andpass the child objectsID to the next component so it knows what data to fetch.
65+
_Do_:[Fetch primitive values that will be used for rendering or logic, like strings, bools, numbers, etc](https://redux.js.org/style-guide/style-guide#call-useselector-multiple-times-in-function-components). If rendering lists of things,create a hashmapof thearray, then render the list but onlypass the child objectsan ID, which will allow a selector access to the sub property directly.
6666

6767
##Understand how immutable objects impact performance
6868

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp