What is JSK

By | March 1, 2016

JSX(JavaScript Syntax Extension) is the library for transforming XML based syntax code to pure JavaScript.

  • It’s a syntactic transform — each JSX node maps to a javascript function.
  • It neither provides nor requires a runtime library.
  • It doesn’t alter or add to the semantics of JavaScript — it’s just simple function calls.
  • JSX script will have type text/jsx.

Benefits of JSX:

  • JSX is easier to visualize than javascript functions.
  • The markup is more familiar to designer and the rest of your team.
  • Your markup becomes more semantic, more meaningful.
Like it? Share it