Generally are usingternary or someif-else in React.
However, there is a specific...case, if you will 😼, where we will encounter aswitch-case. This is when working with adispatcher in conjunction with areducer.
Now, this is just a series on 'pre-react' stuff, so the video doesn't go into all of that...it's just to illustrate an example ofswitch-case.
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse



