Breaking Down the Walls: Rescue Your SPA From Complete Freeze
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.
You May Also Like

Mark Tilbury
Mark Tilbury Fan

The Good Tech Companies
HackerNoon

a16z Show
Andreessen Horowitz

ITSPmagazine
ITSPmagazine, Sean Martin, Marco Ciappelli

TBPN
John Coogan & Jordi Hays

TED Tech
TED Tech

Jack Hopkins
Jack Hopkins

A Bootiful Podcast
Josh Long

CriptoMonedas TV
CriptoMonedas TV

The Times Tech Podcast
The Sunday Times
Community discussion