
children correctly in TypeScriptLearn modern best practices for typing React children in TypeScript, including ReactNode, PropsWithChildren, ComponentProps, and why React.FC is no longer recommended.

Learn how to internationalize Next.js apps with Lingui and next-intl, covering App Router, RSC, routing, locale detection, and dynamic language switching.

Vite vs Webpack in 2025: a senior engineer’s take on performance, developer experience, build control, and when each tool makes sense for React apps.

Learn how Vitest 4 makes migrating from Jest painless, with codemods, faster tests, native ESM, browser testing, and a better DX.
Hey there, want to help make our blog better?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
2 Replies to "Tree shaking JSON files with webpack"
Hey thanks for the article. In the last part about CSS free shaking, shouldn’t it be `sideEffects: false` instead?
Cheers,
Salim
Hi, Kumar here. I checked the article & scraped the internet about this, I can confirm it should be `sideEffects: true`.
Though, would love to know why you think it should be `false` instead. Thank you so much for reading, love the feedback!