samedi 28 octobre 2017

How transform JSX code in browser

Which answer is correct

  • With Babel stand alone build
  • Standard Babel and react preset
  • JSX transformer is recommended by Facebook starting from ReactJs v0.15
  • You cant use JSX in browser, must transpile it to ES5 before sending to browser

i choose 4 option (You cant...) but in right answer is 2(Standard B..), Can you explain WHY?

Aucun commentaire:

Enregistrer un commentaire