Is JSX intended to be sent to the client and typically transpiled in browser.
No.
Does this mean modern versions of Chrome, Firefox, Opera etc all understand JSX syntax?
No.
See the introduction to React:
The quickest way to try JSX in your project is to add this tag to your page:
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
Now you can use JSX in any <script>
tag by adding type="text/babel"
attribute to it. Here is an example HTML file with JSX that you can download and play with.
This requires that you provide a transpiler (written in JS).
Or is server-side transpilation more commonplace? Would you only desire client-side transpilation during dev, for example to avoid installing npm for some reason?
Again, see the above link:
This approach is fine for learning and creating simple demos. However, it makes your website slow and isn’t suitable for production. When you’re ready to move forward, remove this new <script>
tag and the type="text/babel"
attributes you’ve added. Instead, in the next section you will set up a JSX preprocessor to convert all your <script>
tags automatically.
Browser-side transpiling is suitable only for "learning and creating simple demos".