stencil-hooks
stencil-hooks copied to clipboard
A React-hooks API for Stencil components
Attempting to run spec tests with components using `stencil-hooks` throws an error `SyntaxError: Unexpected token 'export'` because `haunted` library uses ESM `export`. Although this isn't necessarily an issue directly related...
Ran into a bug while using @saasquatch/stencilbook -- the component renders in dev mode, but when built for production the component will not re-render when state changes. Upon deeper investigation...
https://github.com/saasquatch/stencil-hooks/blob/026f904ff84a00b6bbcb88cbc7c3db339da0bf90/package.json#L25 example of the warning:  Version 1.2.0 on dom-context will suppress these warnings from popping up in the console.
Great lib you have created! I thought it would be nice to leverage decorator to implement the hooks, instead of explicitly calling the function within the constructor. Additionally, it would...