Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why #JSX (from #react Docs) (Google Translated) #1397

Open
YumaInaura opened this issue Apr 24, 2019 · 0 comments
Open

Why #JSX (from #react Docs) (Google Translated) #1397

YumaInaura opened this issue Apr 24, 2019 · 0 comments

Comments

@YumaInaura
Copy link
Owner

React

It includes the fact that rendering logic is intrinsically tied to other UI logic: how to handle events, aging of states, and how to prepare to display data.

By putting markup and logic in separate files

Rather than artificially separating technology, React separates concerns in loosely coupled units called "components" that contain both. We will come back to the components in a further section, but if you are not yet familiar with putting markup in JS, this story may convince you otherwise.

React does not need to use JSX, but

Most people find it useful as a visual aid when manipulating UI in JavaScript code. It also allows React to display more useful error and warning messages.

Don't get in the way, let's get started.

Ref

Introducing JSX-React

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant