DEV Community

Discussion on: When you should and shouldn't use React

Collapse
 
asyncbanana profile image
AsyncBanana

Preact is a good alternative to react if you want a smaller app but still a React compatible API. For performance, that is often true, although as noted in the article for cases that require lots of rendering using a framework like Svelte or Solid can noticeably improve performance.
For markup, I agree, everything you can do with markup languages like Svelte can be done with JSX, but often it can be more concise with Svelte. So it comes down to a matter of preference, as JSX as a lower learning curve but sometimes makes you write a bit more.