Recompose is a React utility belt for function components and higher-order components. Think of it like lodash for React. You can use Recompose to lift state into functional wrappers, perform the most common React patterns, optimize rendering performance, interoperate with other libraries, build your own libraries, etc. Recompose helpers integrate really nicely with external libraries like Relay, Redux, and RxJS. Recompose focuses on higher-order components. HoCs are functions that accept a base component and return a new component with additional functionality. They can be used to abstract common tasks into reusable pieces. Recompose provides a toolkit of helper functions for creating higher-order components. Many React libraries end up implementing the same utilities over and over again, like shallowEqual and getDisplayName. Recompose provides these utilities for you. Although Recompose encourages the use of function components whenever possible it works with normal React components.

Features

  • Lift state into functional wrappers
  • Perform the most common React patterns
  • Optimize rendering performance
  • Interoperate with other libraries
  • Build your own libraries
  • Recompose focuses on higher-order components

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Recompose

Recompose Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Recompose!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2021-04-06