Question: Preparing data in Render vs getDerivedStateFromProps
Hi, I'm looking for the best lifecycle method approach for my situation. I have some data provided via props from redux, this data needs to be run through a prepareData function before I can loop over it. Is the best approach to call the function in...
Jul 25, 2018KHH