logoalt Hacker News

seanwilsonyesterday at 2:06 PM1 replyview on HN

> Vue uses single-file components, SolidJS uses JSX.

You can use Vue and JSX, it's mentioned on the official site:

https://vuejs.org/guide/extras/render-function


Replies

MrJohzyesterday at 3:20 PM

That's true, but it's not usually recommended for most cases. You lose out on a number of optimisations, and I don't believe it'll be directly supported for vapor mode when that comes, although it looks like there's a plugin that will get them to play nicer with each other.

If you want JSX and signals, I suspect you'll get more out of just using SolidJS, as that framework is focused on working well with JSX directly.