Need advice about which tool to choose?Ask the StackShare community!

Immutable.js

403
120
+ 1
17
Recompose

38
19
+ 1
0
Add tool

Immutable.js vs Recompose: What are the differences?

Developers describe Immutable.js as "Immutable persistent data collections for Javascript which increase efficiency and simplicity, by Facebook". Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data. On the other hand, Recompose is detailed as "A React utility belt". It is a React utility belt for function components and higher-order components. A higher-order component (HOC) refers to a function that accepts a single React component and returns a new React component. Think of it like lodash for React.

Immutable.js and Recompose can be primarily classified as "Javascript Utilities & Libraries" tools.

Immutable.js and Recompose are both open source tools. Immutable.js with 28K GitHub stars and 1.62K forks on GitHub appears to be more popular than Recompose with 14.1K GitHub stars and 1.25K GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Immutable.js
Pros of Recompose
  • 8
    Immutable data structures
  • 5
    Allows you to mimic functional programming
  • 2
    Bring the functional experience to JS
  • 1
    Makes writing Javascript less scary
  • 1
    Easily transpiles to different ES standards
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -

    What is Immutable.js?

    Immutable provides Persistent Immutable List, Stack, Map, OrderedMap, Set, OrderedSet and Record. They are highly efficient on modern JavaScript VMs by using structural sharing via hash maps tries and vector tries as popularized by Clojure and Scala, minimizing the need to copy or cache data.

    What is Recompose?

    It is a React utility belt for function components and higher-order components. A higher-order component (HOC) refers to a function that accepts a single React component and returns a new React component. Think of it like lodash for React.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Immutable.js?
    What companies use Recompose?
    See which teams inside your own company are using Immutable.js or Recompose.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Immutable.js?
    What tools integrate with Recompose?
      No integrations found
      What are some alternatives to Immutable.js and Recompose?
      Lodash
      A JavaScript utility library delivering consistency, modularity, performance, & extras. It provides utility functions for common programming tasks using the functional programming paradigm.
      Ramda
      It emphasizes a purer functional style. Immutability and side-effect free functions are at the heart of its design philosophy. This can help you get the job done with simple, elegant code.
      Modernizr
      It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
      Modernizr
      It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
      fancybox
      It is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built on the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize.
      See all alternatives