How to update UI first and do slow data processing later?
Original message was deleted
Solution
You can try processing the data in the:
1:
2: Write in the
1:
redux layer instead of the component by dispatching an action.2: Write in the
web worker the do pushMessage with the process data to be catch in the redux layer. Make sure you are not doing this as well in the component layer.