PinnedAlon Mizrahi·Mar 14, 2022Why 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…A response icon14A response icon14
InStackademicbyAlon Mizrahi·May 18Your AI agent isn’t the problem. Your repo is.You ask your AI coding agent to pick up where you left off. It’s a project you touched two weeks ago. You type the task.A response icon1A response icon1
Alon Mizrahi·Jan 11, 2024Lazy 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)A response icon1A response icon1
Alon Mizrahi·Dec 23, 2022Retry 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…A response icon4A response icon4