Svelte
Props vs event dispatcher for handling events
https://www.donielsmith.com/blog/2020-04-21-props-vs-event-dispatcher-svelte-3/ (opens in a new tab)
- Both works
- Event dispatcher comes with
event forwarding() shortcut when requires props drilling
React to Svelte
React hooks to svelte
https://github.com/joshnuss/react-hooks-in-svelte (opens in a new tab)
Cheatsheet
