0.3.7-alpha • Published 6 years ago
@michael-klein/funcy.js v0.3.7-alpha
Why 'funcy.js'?
Naming things is hard and 'funcy.js' (pronounced like funky.js) seemed like a fun, recognizable name.
What is it?
funcy.js seeks to provide a functional way of defining web components, very much akin to react functional components with hooks. This is as of right now purely experimental.
Proper documentation will follow soon. For now you may look at todo example in the examples folder or the following codepen:
https://codepen.io/michael-klein/pen/xmQZBx
currently implemented hooks:
- useReducer
- useState
- useEffect
- useRenderer
- usePreactHtm
- useAttribute
- useCSS
- useExposeMethod
0.3.7-alpha
6 years ago