stencil-hooks icon indicating copy to clipboard operation
stencil-hooks copied to clipboard

A React-hooks API for Stencil components

Results 4 stencil-hooks issues
Sort by recently updated
recently updated
newest added

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: ![image](https://user-images.githubusercontent.com/7389201/119548076-b06b8c80-bd4a-11eb-9be1-c2b29d226213.png) 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...