We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This example
import { adopt } from 'react-adopt' import { Value } from 'react-powerplug' const Composed = adopt({ value1: <Value initial={1}>{render}</Value>, value2: <Value initial={2}>{render}</Value>, })
will work perfectly, while this -
const Composed = adopt({ value1: ({ value1, render }) => <Value initial={value1}>{render}</Value>, value2: ({ value2, render }) => <Value initial={value2}>{render}</Value>, })
Will not. Result will contain value2, but any sight of value1 will lost.
value2
value1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This example
will work perfectly, while this -
Will not. Result will contain
value2
, but any sight ofvalue1
will lost.The text was updated successfully, but these errors were encountered: