Description
With the Vue 3 Composition API, you can write functional components. What happens if we write them with JSX templates? Are they similar to React functional components?. Tagged with react, vue, javascr ...
Summary
- With the Vue 3 Composition API, you can write functional components.
- If we modify the original value directly that change will be ignored by the framework.
- The limit and notifier function come as a function parameter, but in Vue we haven't used destructuring.
- It was an interesting and fun experiment to try to write the same component in different frameworks with similar approach as identically as possible.