Hacker News new | past | comments | ask | show | jobs | submit login

The decision to use JSX or not is really one of the least important decisions you need to make when writing a React application. It's essentially a style preference.

Personally I like JSX. It's nice having a special syntax that your editor and linter [1] can understand. And if you are part of the stateless/minimal-logic component camp then most of your components will look more like HTML/JSX with a little bit of JS interspersed than vice-versa.

[1] https://github.com/yannickcr/eslint-plugin-react#jsx-specifi...




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

Search: