Software Alternatives, Accelerators & Startups

BEM VS rollup.js

Compare BEM VS rollup.js and see what are their differences

BEM logo BEM

BEM — Block Element Modifier is a methodology, that helps you to achieve reusable components and code sharing in the front-end.

rollup.js logo rollup.js

Rollup is a module bundler for JavaScript which compiles small pieces of code into a larger piece such as application.
  • BEM Landing page
    Landing page //
    2022-11-21
  • rollup.js Landing page
    Landing page //
    2023-02-09

BEM videos

BEM REVIEW! is Bem worth watching?

More videos:

  • Review - BEM - First Impressions
  • Review - Bem Episode 1 Discussion/ Review BEM HAS THE MUSIC!!!!!

rollup.js videos

No rollup.js videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to BEM and rollup.js)
Developer Tools
60 60%
40% 40
Web Application Bundler
0 0%
100% 100
Design Tools
100 100%
0% 0
JS Build Tools
0 0%
100% 100

User comments

Share your experience with using BEM and rollup.js. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare BEM and rollup.js

BEM Reviews

We have no reviews of BEM yet.
Be the first one to post

rollup.js Reviews

Rollup v. Webpack v. Parcel
Rollup provides much simpler configuration over webpack 4 and has a host of pre-configured plugins that are a breeze to incorporate into your project. Rollup's also the fastest of the build tools period.
Source: x-team.com

Social recommendations and mentions

rollup.js might be a bit more popular than BEM. We know about 44 links to it since March 2021 and only 44 links to BEM. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

BEM mentions (44)

  • Darling, I converted our perfectly fine SPA application into SSR: Part 2
    Most of our headaches stemmed from styled-components. Despite the merits of this CSS-in-JS library, it doesn’t mesh as seamlessly with server components. Traditional CSS methodologies, such as BEM (Block, Element, Modifier), CSS modules, or even utility-first frameworks like Tailwind, would have alleviated many of our difficulties. This lesson is a key takeaway that we plan to carry forward into our future projects. - Source: dev.to / about 8 hours ago
  • Earth rescue - A CSS only game
    After I had created space, the code was as spaghetti as it can get. I decided to switch to SCSS and finally read into the BEM Pattern for CSS and after wasting another 4 hours, I decided that I could not decide wether the HUD is an element of the game and the button is an element of the HUD and the text is an element of the button and someone else also thought about this and called it the BEM grandchildren... - Source: dev.to / 19 days ago
  • Upgrading and Refactoring a Slightly Outdated Web Project
    There are some conceptual requirements to clean code that I always found hard to achieve in a traditional web project, but that's one more reason to use tools like static site generators and follow design patterns like Atomic Design, (A)BEM CSS, and a modular file structure. - Source: dev.to / about 1 year ago
  • 21 Resources to Learn And Practice Your CSS Skills
    BEM is a methodology for organizing and naming CSS classes in a scalable and maintainable way. Learning the principles of BEM can improve the structure of your stylesheets drastically. - Source: dev.to / 5 months ago
  • StyleX – Meta's Styling Library
    It always surprises me the lengths people are willing to go to avoid writing CSS. If organization is the issue, there's BEM (https://getbem.com/). This just looks like another layer of complexity on top of an already convoluted front-end stack that just slows everything it touches to a crawl and only works moderately well on the developers beefed up latest MacBook Pro's, and sucks horribly on any regular person's... - Source: Hacker News / 5 months ago
View more

rollup.js mentions (44)

  • Build a Vite 5 backend integration with Flask
    Unlike Webpack, the Vite DevServer only compiles files when they are requested. It leverages ES module imports, which allow JS files to import other files without needing to bundle them together during development. When one file changes, only that file needs to be re-compiled, and the rest can remain unchanged. Project files are compiled with Rollup.js. Third-party dependencies in node_modules are pre-compiled... - Source: dev.to / 3 months ago
  • 11 Ways to Optimize Your Website
    Besides Webpack, there are many other popular web bundlers available, such as Parcel, Esbuild, Rollup, and more. They all have their own unique features and strengths, and you should make your decision based on the needs and requirements of your specific project. Please refer to their official websites for details. - Source: dev.to / 6 months ago
  • Bun vs Node.js: Everything you need to know
    In the Node.js ecosystem, bundling is typically handled by third-party tools rather than Node.js itself. Some of the most popular bundlers in the Node.js world include Webpack, Rollup, and Parcel, offering features like code splitting, tree shaking, and hot module replacement. - Source: dev.to / 8 months ago
  • 5 Different Tools to Bundle Node.js Apps
    Rollup is another popular JavaScript module bundler focusing on high performance. It excels at tree-shaking and uses ES module syntax to generate more performant bundles than traditional module bundlers. In addition to JavaScript, Rollup supports bundling CSS and JSON as well. Rollup has more than 12 million weekly NPM downloads. - Source: dev.to / 11 months ago
  • How to build and publish React TypeScript NPM packages with Vite
    Vite (read as vit) is actually a combination of two great frontend tools - an immensely fast development server and a build command for shipping heavily optimized static assets using Rollup. Many developers have encountered the process of setting up a project using Create React App. While CRA can be useful for beginners due to its simplicity and abstraction of configuration, it has some drawbacks that outweigh its... - Source: dev.to / 12 months ago
View more

What are some alternatives?

When comparing BEM and rollup.js, you can also consider the following products

Sass - Syntatically Awesome Style Sheets

Webpack - Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.

Tailwind CSS - A utility-first CSS framework for rapidly building custom user interfaces.

npm - npm is a package manager for Node.

styled-components - styled-components is a visual primitive for the component age that also helps the user to use the ES6 and CSS to style apps.

Parcel - Blazing fast, zero configuration web application bundler