Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

精读《React PowerPlug 源码》 #129

Closed
ascoders opened this issue Feb 21, 2019 · 4 comments
Closed

精读《React PowerPlug 源码》 #129

ascoders opened this issue Feb 21, 2019 · 4 comments

Comments

@ascoders
Copy link
Owner

ascoders commented Feb 21, 2019

react-powerplug 非常好用,举个例子:

import { Toggle } from 'react-powerplug'

export default () => (
  <Toggle initial={true}>
    {({ on, toggle }) => (
      <Checkbox checked={on} onChange={toggle} />
    )}
  </Toggle>
)

那么是时候读一读源码啦!


精读《React PowerPlug 源码》

@ascoders ascoders changed the title 精读《react-powerplug 源码》 精读《React PowerPlug 源码》 Feb 24, 2019
@zWingz
Copy link

zWingz commented Mar 1, 2019

image
这里认真的吗..

@ascoders
Copy link
Owner Author

ascoders commented Mar 1, 2019

@zWingz of course.

@zWingz
Copy link

zWingz commented Mar 1, 2019

@ascoders 现在还能这么声明一个对象了吗..

@ascoders
Copy link
Owner Author

ascoders commented Mar 1, 2019

@zWingz 哦哦,看漏啦,已修复。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants