Download Latest Version v0.6.0 source code.tar.gz (62.1 kB)
Email in envelope

Get an email when there's a new version of React Adopt

Home / v0.5.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2018-05-11 390 Bytes
v0.5.1 source code.tar.gz 2018-05-11 61.5 kB
v0.5.1 source code.zip 2018-05-11 64.8 kB
Totals: 3 Items   126.7 kB 0

Changelog

  • [x] Add render prop to composed component (thanks @ctrlplusb for the idea)
  • [x] Improve some types

    :::js import { adopt } from 'react-adopt' import { Value } from 'react-powerplug'

    const Composed = adopt({ foo: <Value initial="foo" /> })

    const App = () => ( <Composed render={({ foo }) => / ... / } /> )

Source: README.md, updated 2018-05-11