Hacker News new | ask | show | jobs
by sbr464 2654 days ago
One method I’ve found, although slightly obscure and more frontend related:

1. Visit a complex web app, check if source maps are enabled.

2. Using Chrome DevTools, download the sources and source maps.

3. Install shuji, https://github.com/paazmaya/shuji

4. Run shuji recursively on the source maps to output normal code.

5. Review Components/code to see how current companies are carrying out (best) practices, etc.

For me, it helped break down how different companies (with closed source) are structuring React/Redux code for complex apps.