Skip to content

Instantly share code, notes, and snippets.

View sunil-srma's full-sized avatar
🏠
Working from home

Sunil Sharma sunil-srma

🏠
Working from home
View GitHub Profile
@sunil-srma
sunil-srma / react-performance-tool-and tricks
Last active March 1, 2019 04:26
React tools and tricks
1. A higher order componet to load react modules with promises
https://github.com/jamiebuilds/react-loadable
2. To analyze the permformance/ size of bundle
a Webpack-bundle-analyzer
https://www.npmjs.com/package/webpack-bundle-analyzer
b. Source-map-explorer
To check PID of a port number
sudo ss -lptn 'sport = :80'