Skip to content

Translate reacting-to-input-with-state.md #151

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

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

rammba
Copy link
Collaborator

@rammba rammba commented Apr 20, 2025

Closes #150

Hey @lxmarinkovic, happy Easter, Христос Васкрсе 🥚 🐰

@rammba rammba requested a review from lxmarinkovic April 20, 2025 11:40
@@ -22,7 +22,7 @@ Povećavanjem aplikacije, važno je da budete svesni kako vam je state organizov

## Reagovanje na input pomoću stanja {/*reacting-to-input-with-state*/}

Sa React-om, nećete direktno u kodu menjati UI. Na primer, nećete pisati komande poput "onemogući dugme", "omogući dugme", "prikaži uspešnu poruku", itd. Umesto toga, opisaćete kakav UI želite da vidite za različita vizuelna stanja vaše komponente ("inicijalno stanje", "stanje pisanja", "uspešno stanje"), a onda ćete pokrenuti promene state-a kao odgovor na korisnički input. Ovo je slično onome kako dizajneri razmišljaju o UI-u.
Sa React-om, nećete direktno u kodu menjati UI. Na primer, nećete pisati komande poput "onemogući dugme", "omogući dugme", "prikaži uspešnu poruku", itd. Umesto toga, opisaćete kakav UI želite da vidite za različita vizuelna stanja vaše komponente ("inicijalno stanje", "stanje pisanja", "uspešno stanje"), a onda ćete pokrenuti promene stanja kao odgovor na korisnički input. Ovo je slično onome kako dizajneri razmišljaju o UI-u.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pay attention on places where I used terms stanje and state. Since it's the same word on english I needed to distinguish React's state and state from state machine (automat on Serbian).

@lxmarinkovic
Copy link
Collaborator

Hey @rammba
Zaista Vaskrse!
Happy Easter! 🐣🐇

@lxmarinkovic lxmarinkovic merged commit 9d1b791 into main Apr 21, 2025
7 checks passed
@lxmarinkovic lxmarinkovic deleted the features/reacting-to-input-with-state branch April 21, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reacting to Input with State
2 participants