React, JavaScript, Technology, Programming, Productivity.
onDashboardIdChanged props because I needed some event to fire in order to link my component to the outside world. Following the golden rule, these onMount and onDashboardIdChanged props are unnatural and therefore should live in the container. The nice thing about hooks is that it makes