
Coming from C# can quietly sabotage your TypeScript code. This article shows how to swap nullable flags and enums for discriminated unions and literal types so your Angular apps model state cleanly and stay easy to reason about.

Micro frontends boost autonomy but they make CSS a nightmare. In this guide, I break down how to scale styling without collisions using design tokens, CSS Modules, and the Shadow DOM.

Learn how ChatGPT’s new browser Atlas fits into a frontend developer’s toolkit, including the debugging and testing process.

Users don’t think in terms of frontend or backend; they just see features. This article explores why composition, not reactivity, is becoming the core organizing idea in modern UI architecture.
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!