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
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try 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