Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you write Vue as well?

I have to hop back and forth between Vue and React frequently and the experience of writing a TSX component is pretty nearly identical.

For stateless components -- it's literally the same syntax as React.

For stateful components, you just need to wrap your component in "defineComponent()" and your TSX elements get returned from a closure in "setup()".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: