@abzeede
Nothing here yet.
Nothing here yet.
No blogs yet.
Thank you for really helpful answers! You right, github.com/kamranahmedse/developer-roadmap, its just a goal that help you reach the ultimate goal, deliver the best code quality. The ultimate goal in software world should't be something like when you achieve and then you can stop because everything changed when time gone, so keep learning! Thanks again :)
ref: https://www.wikitechy.com/tutorials/react/reactjs-component-life-cycle Let's look at the component life cycle. From the information that i got, "that method keeps on calling back-end for data in every second", i guess that when action calling, it's update data in store and make the props change, so the life cycle will be "shouldComponentUpdate" -> "componentWillUpdate" -> "render" -> " componentDidUpdate ", that why it's looping call the API. Actually you can fetch API on componentDidMount. Once API callback the data will update to redux store(i guess you use redux right?) and the component that subscribe the data will call "componentWillReceiveProps" so you can put the logic in there.