Skip to content

Commit f63d971

Browse files
authored
Merge pull request #3887 from 2underscores/patch-1
Update part6a.md
2 parents 7e4db6c + 368f90c commit f63d971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/6/en/part6a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ export const toggleImportanceOf = (id) => { // highlight-line
967967
export default noteReducer
968968
```
969969

970-
If the application has many components which need the store, the <i>App</i> component must pass <i>store</i> as props to all of those components.
970+
Previously, if the application had many components which needed the store, the <i>App</i> component had to pass <i>store</i> as props to all of those components (known as prop drilling). Now with the <i>store</i> Provider wrapping the <i>App</i> component, the <i>store</i> is directly accessible to all components within the <i>App</i> component without explicitly being passed as props.
971971

972972
The module now has multiple [export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export) commands.
973973

0 commit comments

Comments
 (0)