Software Alternatives, Accelerators & Startups

BEM VS CodePush

Compare BEM VS CodePush 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.

CodePush logo CodePush

CodePush is a cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users' devices.ย 
  • BEM Landing page
    Landing page //
    2022-11-21
  • CodePush Landing page
    Landing page //
    2019-11-26

BEM features and specs

  • Consistency
    BEM enforces a structured way of naming and organizing CSS classes, which promotes consistency across the codebase.
  • Scalability
    The methodology is designed to handle large and complex projects by keeping styles modular and reusable, which helps in maintaining scalability.
  • Maintainability
    By using a clear naming convention, BEM makes it easier for developers to understand and maintain code, even if they weren't the original authors.
  • Flexibility
    BEM allows for flexible and modular component development, making modifications easier without affecting unrelated parts of the codebase.

Possible disadvantages of BEM

  • Verbose Naming
    The class names in BEM can become quite long and verbose, which might make the HTML markup harder to read.
  • Learning Curve
    Developers unfamiliar with BEM may need some time to adapt to its conventions and understand the methodology well.
  • No Enforced Hierarchy
    BEM does not inherently enforce any specific hierarchy or structure among elements, which might lead to inconsistencies if not carefully managed.
  • Increased Initial Setup
    Implementing BEM from scratch can involve significant upfront planning and setup, which might be seen as an overhead for smaller projects.

CodePush features and specs

  • Instant Updates
    CodePush allows developers to deploy updates to their apps immediately, without requiring users to download a new version from the app store, resulting in faster bug fixes and feature rollouts.
  • Easy Integration
    CodePush integrates seamlessly with existing mobile app infrastructures and supports popular frameworks like React Native, Cordova, and Ionic, making it easy for developers to add over-the-air update capabilities.
  • No Store Re-approval
    Updates pushed through CodePush do not require app store re-approval, which can save time and help maintain app stability by quickly addressing issues that donโ€™t involve major codebase changes.
  • Reduced Update Fatigue
    Users benefit from a more streamlined experience as they receive constant, incremental improvements without being repeatedly prompted to download and install large app versions.

Possible disadvantages of CodePush

  • Limited to JavaScript Code and Assets
    CodePush can only update JavaScript code and assets, not native code. This limits its use to web-based code changes, so any changes to native modules still require a full app store release.
  • Potential for Misalignment
    If not carefully managed, there's potential for clients to run different versions of code, leading to discrepancies in app behavior if the JavaScript logic doesn't align with the native code expectations.
  • User Consent Required
    Automatic updates require user consent, and some users may opt-out of receiving updates this way, which can result in fragmentation or running outdated app versions.
  • Compliance Risks
    Modifying app logic over-the-air without going through app stores can potentially violate platform compliance guidelines or terms of service, especially if critical updates circumvent necessary oversight.

BEM videos

BEM REVIEW! is Bem worth watching?

More videos:

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

CodePush videos

React Native Codepush tutorial [1/8]: What is Codepush and how does it work?

More videos:

  • Review - React Native - Deploy app updates instantly using codepush without the need of playstore or appstore

Category Popularity

0-100% (relative to BEM and CodePush)
Developer Tools
100 100%
0% 0
Design Prototyping
0 0%
100% 100
Design Tools
77 77%
23% 23
Website Design
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, BEM should be more popular than CodePush. It has been mentiond 49 times since March 2021. 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 (49)

  • Why CSS Is So Hard for Generative AIs to Understand?
    Beyond the countless ways to achieve the same result, there are just as many methodologies for writing CSS itself. Have you ever came across BEM, SMACSS, OOCSS, atomic CSS, etc. If not, then you can add yours to the list. - Source: dev.to / 8 months ago
  • hearing Michael Scott.
    SCSS makes it easier to use mixing and variables. I'm exploring it's applications for Codepen as well as the use of BEM to modularize reusable CSS components. - Source: dev.to / 12 months ago
  • The CSS Odyssey: Why I Turned back to CSS After Trying Everything Else
    Style conflicts is one. Although CSS class definitions are placed in reverse import order, problems still occur in Next.js when some pieces only appear in page but not layout CSS bundles. Following BEM (Block Element Modifier) and "Composition over Extension" patterns to separate concerns helps avoid styling collisions significantly. - Source: dev.to / about 1 year ago
  • :where() :is() my mind?
    BEM encourages a flat structure with minimal nesting and specificity, making styles easier to read and maintain. It significantly reduces the risk of unintended style overrides and enhances modularity. - Source: dev.to / about 2 years ago
  • SASS, CSS, or Tailwind: Which One Should You Choose?
    Keep in mind you also have to use BEM. If you use just SASS, there are little to no advantages compared with CSS. I am going to cover BEM in a separate article, but for your understanding, BEM is a methodology for writing good CSS. - Source: dev.to / about 2 years ago
View more

CodePush mentions (6)

  • A Deep Look at the Flutter SDK: What's Actually Under the Hood
    This creates Flutter's fundamental limitation: no code push capability. React Native developers can update JavaScript bundles at runtime through services like Microsoft's CodePush. Flutter's compiled Dart code is static machine code. There's no runtime interpreter in release builds. Once you publish an app, fixing bugs requires a full app store submission. That's typically 1-7 days for Apple review and hours to a... - Source: dev.to / 6 months ago
  • Searching: react native ota update self hosted
    In my opinion it doesn't make any sense you can use https://microsoft.github.io/code-push/ which is free. I use this for my apps android/ios and works fine.. I hope it helps. Source: about 3 years ago
  • Hot fixes on Chrome Extension live
    I come from smartphone app development and now moving to chrome extensions I miss something called CodePush which would push Javascript changes live to app store, but not native code so we could hot fix critical stuff without waiting for store reviews... Source: over 3 years ago
  • All you should know about Flutter development
    One feature I feel holding Flutter back compared to ReactNative and other options is Code Push. I really enjoy writing Flutter apps but the ability to push updates and bypass store reviews has been extremely valuable for multiple companies I've built apps for. https://microsoft.github.io/code-push/. - Source: Hacker News / over 4 years ago
  • Ask HN: Robust and affordable alternatives to Google Play for app distribution?
    Couldn't you just add the adults as testers to the Google Play app, avoiding oversight? The problem with breaking off from Google Play is you lose the ability to send push notifications. You could look at Code Push [0] for seamless updates. TBH its not the easiest to integrate with. [0] - https://microsoft.github.io/code-push/. - Source: Hacker News / over 4 years ago
View more

What are some alternatives?

When comparing BEM and CodePush, you can also consider the following products

Sass - Syntatically Awesome Style Sheets

Marvel - Turn sketches, mockups and designs into web, iPhone, iOS, Android and Apple Watch app prototypes.

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.

Gihosoft Free Android Recovery - Gihosoft is a Free Android Recovery software that help recover deleted or lost Android files such as photos, videos, messages, contacts, WhatsApp, Viber, and more with simple steps.

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

Parse-Server - parse-server. Parse-compatible API server module for Node/Express. JS, 14271, 3819. parse-server-conformance-tests. Conformance tests for parse-server adapters.