JSX really isn't a view framework/lib though several use JSX/Hyperscript transpile for representing component rendering (React, hyperscript, inferno, preact, etc).
That said, it does feel more natural to me, to have the JSX and css-in-js inside the JS, than with components like vue, svelte and web components.
I know JSX isn't frameework/lib, I was just speaking about the string template way vs jsx template way. For me JSX is better because you can use all the javascript APIs into the template. Integration is way better. This advantage is, for me, way more important than the fact that in the history of web dev templates were popular.