React Memory Router Tutorial
Continuing from previous React Router 5 tutorial, now we take a look a React’s memory router. Our list of routes remains the same … However, instead of importing BrowserRouter from...
read moreReact Router SubRoute configuration example
Continuing from previous example, let’s changes our “about” routes to be able to show “ContactComponent”, “CatsComponent”, and “DogsComponent”,...
read moreTutorial on React Router 5
In this tutorial, we start with create-react-app to create a new React app called “demo-routes” so that we can show you how React Router 5 works. Running the starter app, it has no...
read moreWhat is the difference between react-router and react-router-dom?
In short, if you are building a web app in React and you want to use React Router, just install “react-router-dom”. If you are building React Native, install...
read moreTutorial on MobX toJS method
MobX has a function “toJS” that returns an Javascript structure from an observable object. In this tutorial, we will use the “toJS” function to convert an MobX store to an...
read moreTutorial on making Mobx Asynchronous Calls
In the last tutorial, we created our first Mobx ToDo app whose source code you can get from here. We will continue directly from that tutorial to make an asynchronous call...
read moreRedux connect humor
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 moreredux-thunk humor
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 moreTutorial on Redux combine reducers
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 moreAll 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.