Our great sponsors
-
browserslist
🦔 Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
We compile JS only for modern browsers. The list of default browsers in Next can be overridden in your browserslist.
Another package we use for optimization helps us generate a list of unused npm packages. Then we manually go through the list and remove everything unnecessary, thereby reducing the project's weight and organising things.
The code duplication occurred due to disabling the default code splitting algorithm in Next.js. Previous developers used this approach to make Linaria work, which is designed to improve productivity. However, disabling code splitting led to a decrease in performance.
Related posts
- How bad is it to use CSS-in-JS with regards to the future of React?
- JSS vs Styled Components? and why?
- What is the best CSS framework to use with React? why?
- Why TBT (Script Evaluation) is a bottleneck for CSS in JS even when SSR/SSG
- [AskJS] Experienced Devs, what's something that frustrates you about working with React that's not a simple "you'll know how to do it better once you've enough experience"?