Translate 'Context' page#129
Merged
Merged
Conversation
|
Deploy preview for pl-reactjs ready! Built with commit e95eb1d |
lekterable
reviewed
Sep 13, 2019
| // Context lets us pass a value deep into the component tree | ||
| // without explicitly threading it through every component. | ||
| // Create a context for the current theme (with "light" as the default). | ||
| // Kontekst pozwala na odczyt wartości wymaganych gdzieś głęboko w drzewie |
Contributor
There was a problem hiding this comment.
Co powiesz na Kontekst pozwala na przekazywanie wartości głęboko do drzewa komponentów?
lekterable
reviewed
Sep 13, 2019
| // and pass it to the ThemedButton. This can become painful | ||
| // if every single button in the app needs to know the theme | ||
| // because it would have to be passed through all components. | ||
| // Komponent `Toolbar` musi odbierać dodatkową właściwość "theme" |
Contributor
There was a problem hiding this comment.
Co myślisz o użyciu przyjmować zamiast odbierać?
Contributor
|
Hej, zostawiłem kilka sugestii, które nasunęły mi się po rzuceniu na to świeżym okiem. Dzięki za to co robicie! :) |
Member
Author
|
@lekterable Dzięki za sugestie. Wszystkie wrzuciłem :-) |
lekterable
approved these changes
Oct 4, 2019
added 2 commits
October 5, 2019 13:39
94 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.