Programming Tech Brief By HackerNoon

Breaking Down the Walls: Rescue Your SPA From Complete Freeze


Listen Later

This story was originally published on HackerNoon at: https://hackernoon.com/breaking-down-the-walls-rescue-your-spa-from-complete-freeze.


React page frozen solid? Here’s how a single Chrome DevTools feature helped trace an infinite loop hidden deep in Redux selectors.
Check more stories related to programming at: https://hackernoon.com/c/programming.
You can also check exclusive content about #javascript, #chrome-dev-tools, #debugging, #page-freeze, #hard-hang, #page-unresponsive, #react, #hackernoon-top-story, and more.


This story was written by: @anandk05. Learn more about this writer by checking @anandk05's about page,
and for more stories, please visit hackernoon.com.


Chrome’s Pause Script Execution can be used to freeze a Single Page App (SPA) using a hidden infinite loop deep inside a Redux selector. The root cause of the freeze is a loop that never ends.

...more
View all episodesView all episodes
Download on the App Store

Programming Tech Brief By HackerNoonBy HackerNoon