React, JavaScript, Technology, Programming, Productivity.
to populate this dashboard with data. You notice that you need to call a function (e.g. dispatch(fetchAction)) when your component mount in order for that to happen. In scenarios like this, I found myself adding componentDidMount and componentDidUpdate lifecycle methods and adding onMount or