Tutorials on Web Development, Programming, and Web Design

Redux connect humor

In fun

In Redux you learned about the “connect” function.  It takes two functions and returns a function.  If you pass a React component into that returned function, then out comes another...

read more

redux-thunk humor

In fun

When using React Redux for asynchronous calls, it is common to use the “redux-thunk” module.  Who comes up these names?  With a name like that, the joke practically writes...

read more

Tutorial on Redux combine reducers

In Tutorials

In the last tutorial (where you can get the source code there), we had one reducer.js … For the purpose of this tutorial, let’s convert that one reducer to three separate reducers in:...

read more

Tutorial using redux-thunk to call API

In Tutorials

Continuing from the last Redux tutorial, in this tutorial we will have our app retrieve some ToDo items using axios utility.   We will retrieve from this API...

read more

Redux Tutorial on mapDispatchToProps

In Tutorials

In the last tutorial, we see that the ToDo component is calling the addToDo action creator to create an action that is dispatch by the store’s dispatch method … This is a bit verbose. ...

read more

Tutorial on Action Creators in Redux

In Tutorials

Continuing directly from our previous tutorial, now we start to use an “action creator”.  In our ToDo component, we are dispatching an action object like this … This has a bit of...

read more

React Redux actions as string constants in separate file

In Uncategorized

In our React Redux tutorial, we tried to keep things as simple as possible to begin.  Hence, it was using strings as the action type … In larger more complex apps, there are some advantages...

read more

Difference between Redux and Mobx

In Articles

I once asked the question of what is the differences between Redux and Mobx. The both provide state management for React apps. So I wrote a ToDo app using Redux and separately with Mobx.  You can...

read more
Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.