Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
So what is state?
Let me give you some examples.
State for example are the ingredients we added to our burger,
that's part of our application state, the application state of our burger builder application.
The information, which ingredients we added is crucial because it determines what we need to render to
the screen,
how should our burger preview look like there?
It's also important behind the scenes when we store that burger on a server and we need to submit all
these ingredients in the HTTP request. Another example would be the question, whether the user is authenticated
or not,
that can be super important as it might determine the options we're showing in the menu or the access
we're granting to certain components.
Also interesting is UI statelike is a given modal open, is a backdrop open, should it be open?
That's super important too,
it's less about data like ingredients and user authentication is, it's more about our pure UI only
state.
It might only be relevant to one single component,
still this is also an example for a state, more of a local than an application wide state
but still, state determining what should get rendered to the screen and that is in its core what you
can boil it down to, state influences what you see on the screen.
So therefore our last example would be a list of blog posts which we render, which we might filter, where
we might need to know which of these posts were created by the user,
also important state we might need in our application.
And of course the list goes on and on,
you can add more and more examples here,
now these really just are some examples. What's now so complex about state?
Why do we need extra library for that?
Let's take a closer look.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.