Read up thunk, discuss about middleware, componentWillMount, will Unmount, lifecycles.
redux-thunk, we can call functions as actions when calling vai store.dispatch.
See reddit API waala.
One of the things to be kept in mind while desigining react is not to focus on using
document.getElementbyId. This is only supported in chrome based browsers, so will not be effective for mobile and other devices.
We can monitor change in input when ‘Enter’ is pressed, [onKeyPress], but it is better to do that on ‘onchange’, this will change our state. Although there is rerender involved, it is of the order of milliseconds, so can ignore.Some rights reserved.
Share onTwitter Facebook Google+ LinkedIn
Leave a Comment
My experience with Elementary OS
Resolving cyclic dependency in models: Pass it down as an argument for a specific function. Model... ...
Explaining REST calls, avoiding Google tracking
Check git punchcard later. ...
How to find the current shell that you’re working in ? ...