-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate 'Context' page #129
Conversation
Deploy preview for pl-reactjs ready! Built with commit e95eb1d |
// 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co powiesz na Kontekst pozwala na przekazywanie wartości głęboko do drzewa komponentów
?
// 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co myślisz o użyciu przyjmować
zamiast odbierać
?
Hej, zostawiłem kilka sugestii, które nasunęły mi się po rzuceniu na to świeżym okiem. Dzięki za to co robicie! :) |
@lekterable Dzięki za sugestie. Wszystkie wrzuciłem :-) |
No description provided.