netzo / fresh-netzo

Full-stack Deno Fresh meta-framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
https://netzo.io
MIT License
51 stars 3 forks source link

refactor(hooks): removes standalone hooks module #135

Closed miguelrk closed 9 months ago

miguelrk commented 9 months ago

We didn't have many "external" hooks (only some "internal" ones), and still, it would be hard to "set" a convention for users (e.g. to use signals or hooks). Also, the full-stack nature of fresh could cause confusion as to when to use hooks for users (client, server, both?). Users can obviously still make use of regular preact hooks (or signals if they prefer) and external hook libraries, which already implement most common utilities.