devongovett / svelte-hooks

50 stars 3 forks source link

Add or link to some usage examples #11

Open TylerRick opened 3 years ago

TylerRick commented 3 years ago

Are there any good examples of this being used? If so, maybe we could add a link to them in the Readme. It's a lot easier to "get" a library with examples.

devongovett commented 3 years ago

Well it's not a real library yet, just an experiment so far. 😄

TylerRick commented 3 years ago

Fair enough. Well, it looks really cool, so I hope you keep at it and release it as a library (#8) someday... :+1:

I keep running into some cases where I need something like useEffect ... I guess I might just have to copy and paste files from this library for now... :smile:

TylerRick commented 3 years ago

See also https://github.com/sveltejs/svelte/issues/5283, where this library was recommended as a workaround for the lack of a native equivalent to useEffect in Svelte...