What is "State" in Programming?
Vložit
- čas přidán 19. 01. 2021
- "State" is a term you might've heard a lot - especially when working with modern frontend frameworks like React, Angular or Vue. It's important for updating what you see on the screen. But how would you define state?
Also read the full article: academind.com/tutorials/what-i...
Learn all about React.js, Angular & Vue and get a great discount!
React.js - The Complete Guide: acad.link/reactjs
Angular - The Complete Guide: acad.link/angular
Vue - The Complete Guide: acad.link/vuejs
Or get access to ALL our courses for one low monthly or annual price: pro.academind.com
Join our Academind Community on Discord: / discord
Check out all our other courses: academind.com/learn/our-courses
----------
• Go to www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
• Follow @maxedapps and @academind_real on Twitter
• Follow @academind_real on Instagram: / academind_real
• Join our Facebook community on / academindchannel
See you in the videos!
----------
Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
We Want a Playlist of What is .... in Programming 😍😍😍👍🏼👍🏼🙏🏼❤
@Grady Rowen Mate, you really gotta pay 16bucks? Does that work for sure?
the person that disliked the video is in a bad state
agreed
It's funny and surprising when I look back at how I was when I started programming. Almost two years later, I can't believe I improved this much..
For anyone who might be watching this, just relax and try to understand what you're learning by practicing.. The only thing that cannot be faked is mastery. It only comes from practice
@Jose Francisco Jimenez thanks.. not at all.. I do not have a CS degree.. I just teach myself from CZcams and Udemy
@Jose Francisco Jimenez not really, i just put in alot of hours..
😅
You explain concepts clearly and to the point. Thank you so much for your videos.
Hi Max, great video. I love the format of short clips explaining different concepts. I was wondering, could you also make a video in which you develop a simple state management system, similar to Redux or Vuex, in vanilla Javascript or better yet in Typescript? I think that would make it even easier for people to grasp the concept of state and tackle those troublesome libraries.
I like to explain State as a chess game anotation: You could play a whole chess game by writing down which piece moves where each turn. In fact kings use to play chess this way with other kings. Each had their own board (interface) in their own castle, which looked the same, because they "updated the state" every time they got a letter with the opponent's move.
I think they call that correspondence chess.
Wow...nice explanation
You are always awesome Max! Thanks for such clear explanation of the concept.
Your channel is keep helping me a lot!! You can't imagine how ur instructions are encouraging me with a comprehensive and tangible explanations all the time...!!!!!!!!! thanks a lot, stay safe!!!
Very nice explanation. Took me a while to understand it the first time and what bothers me is the fact that is always the same example, that "click here to increase count". it works but is too simple to show what state really means and why it is important.
In computer science, state are defined by their input, output and transition. What differentiate two state is that their output is different from the same input. you can put the calculator in decimal state and 10 + 10 = 20 or in bin state and 10 + 10 = 100. The way they process data is different thus two different state.
Though presumably, different states can sometimes have the same I/O. For example: 0 + 1 = 1 regardless of whether the calculator is in decimal or binary mode. So does that mean a state is defined by the mapping from "any possible input" to "any possible output"?
Max, thank you so much for sharing.
simple and clear. Thanks !
Gosh this was explained perfectly!! Thank you so much.
I just started to learn IT 2 months ago,I found 3 days ago your channel and I`m watching 2-3 hours per day your videos.Your way to teach is very cool and apparently(for me) it`s working way better than with any other youtubers!
Well explained with examples 🙂
I appreciate the video idea.this topic looks so silly but its really very important to understand it
thanks, this was a very simple and clear explanation, just how i like it
Much informative for me because I've just started learning react😍🥰
Good explanation. Thanks
I work on React/Angular projects daily at work but I watch all of your videos.
great working example 👍 thank you
A static situation of your running code - a summary of "facts" of what is in your active memory, the data which is currently being rendered on a screen or another interface.
Explained it perfectly and easily
Excellent explanation!!
In the end it's a great explanation !
I love everything you do
Thanks for the info
Great lecture!
Thanks this helped a lot
very nice explanation sir Thumbs up
Love the way you teach.
It was helpful. thanks
please do SSR next.
clear explanation as always.
thank you for validating what I thought 😃
Is it possible to see that what is the current value of the state like we can see the session values in php
(vue example) could I use the root object as a place to centralize states among components instead of using 'stores'.. stores seems to much complication in my books..
hello there, while working in counter application what is the working principal of counter and setCounter?
what does they do when we run?
Does counter is old value store in counter and while updating state setCounter hold the new value?
Thank you!
Thanks alot.
Max, can you do an Elixir tutorial series?
I hit like before watching Max's video because I know how he plans to explain the concept.
So how much memory does it take to store ALL the states of 1 minute of cooling coffee?
Hi Max, please create a course on Loopback 4. It's pretty hot these days!
Hello Max!! ❤️
You always post what is needed. I like that
Your CZcams Logo Attracts my Eyes. :)
could you please enable CC? :)
The state of anything depends upon the question asked about the subject.
Video about state machines in react. 👍
So basically the term state always refers to the program as a whole. If there is an alteration in memory the state changes. Which is probably why some people prefer functional programming where state changes are avoided as much as possible to make the program easier to debug and test.
so state = permutation of all variables
❤️❤️❤️
can any one explain to me why so many people in the internet talk about programming like it's only web development?
why they assume programming=web ?
Help me
Will you release Django course on Udemy as well?
The other half of my brain: A State Of Trance
Nyimak
selalu dong bang nyimak 😂
😊❤
Who else here from the React Course in The Odin Project?
So "state" & "context" are synonymous right?
Hi, It was not clear enough this time. I was good until the real world state and then lost it.
Love your videos overall though.
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
besides the obvious, you did not make much clear. there are too many states , of registers, ram cells, looks variables functions call-adresses ...
the color palette used for this presentation is bad
how many of you are here redirected from udemy course?
Its a really bad practice to put renderState inside incrementCounter... Each function should do only one thing... In setTimeout its better to call incrementCounter AND renderState
This guy is from Udemy ??!!
Totally good and 共匪
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
the color palette used for this presentation is bad