PinnedAlon MizrahiWhy you should avoid index.js?In most Javascript projects, whether frontend React project, or backend node.js project, you have the ability to group all your imports to…4 min read·Mar 14, 2022--14--14
Alon MizrahiLazy Load Lottie animation in ReactI was about to add Lottie to my React +Next.js side project, and I saw that it was huge in bundle size. (82kb minified+gzipped)2 min read·Jan 11, 2024----
Alon MizrahiRetry dynamic imports with “React.lazy”In the modern web, code splitting is essential. You want to keep your app slim, with a small bundle size, while having “First Contentful…5 min read·Dec 23, 2022--4--4