I have a pattern like here: https://jsfiddle.net/tqz8pf7e/
But this gives an error Warning: Cannot update during an existing state transition (such as within render
). Render methods should be a pure function…
I want to loaddata() after the data got prepared in the same function and before the HTML is returned. How to do that correct with HOT and ReactJS?