You can extract the business logic as a plain function. The JSX templating is just for the experiment. JSX in many cases suffers performance penalty compared to Vue templates.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
JSX or the functional api?
Can you. elaborate on what is worse? I feel JSX as a different approach, not a better/worse one - different people different tastes.
One reason devs like Vue is because it's not like React. So what is the benefit of writing this React-like component:
compared to regular Vue:
You can extract the business logic as a plain function. The JSX templating is just for the experiment. JSX in many cases suffers performance penalty compared to Vue templates.