Awesome Open Source
Awesome Open Source

Recycles ♻️

Recycles is a simple React render-prop component library providing access to several React component lifecycle methods.

All of the exported components accept an optional callback prop and a children prop. Both of these are functions, and the components will return null if callback is undefined, otherwise they return this.props.children().


import { ComponentDidMount } from 'recycles'

      {() => {
        // if your app was server side rendered, this only gets evaluated on the client
    <App />

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,316
react (5,456
lifecycle (58
render-props (21