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…Mar 14, 202214Mar 14, 202214
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)Jan 11Jan 11
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…Dec 23, 20224Dec 23, 20224