TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Kumar S.
Software Engineer at zefo
Tutor Satisfaction Guarantee
Javascript Programming
TutorMe
Question:

How react-redux works?

Kumar S.
Answer:

Think of a small store, you are the manager of that store(you maintain a ledger for the inventory and sales), a guy comes in, buys a chocolate, what 'actions' you would take, decrease one chocolate from inventory, add the price of the chocolate to your income. Now, you are given the task of developing store's website, you do that obviously with react and redux, redux maintain the state of your application, any change is done via 'dispatching an action', so you would have an initial state say, {chocolates: 25, income: 0 } as the customer buys a chocolate, you would 'dispatch two actions, decrease quantity & increaseIncome. Now every dispatched action goes to a reducer where state is maintained, and once a reducer is called it takes care of all the places where your state is being used, say in display of chocolate page you would say, 25 chocolates are remaining, once a customer buys a chocolate and you dispatch an action, or decrease quantity, it would automatically be changed to, 24 chocolates remaining.

HTML5 Programming
TutorMe
Question:

What's the use of an article tag?

Kumar S.
Answer:

Article tag is used to specify that the content is self-contained, what that means is, it doesn't depend on the rest of the website, if it's taken out of the website, it would still make sense. Some examples of articles could be, blog posts, news story, forum posts etc.

CSS
TutorMe
Question:

Explain CSS box-sizing property.

Kumar S.
Answer:

By default, when you set a width of an element, it's actual width is calculated as, width specified + padding + border, but if you want to restrict padding and border in the specified width, you can set the box-sizing property as border-box.

Send a message explaining your
needs and Kumar will reply soon.
Contact Kumar
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.