Andrey (azangru) wrote,
Andrey
azangru

Sign of making React documentation more "beginner-friendly". A blog post on the React docs site, about the new jsx transform, starts with a section "What’s a JSX Transform?". Which begins with the following sentence: "Browsers don’t understand JSX out of the box, so most React users rely on a compiler like Babel or TypeScript to transform JSX code into regular JavaScript."

Honestly, if the reader doesn't know what jsx is, or does not understand that jsx is a domain-specific language different from javascript and thus incomprehensible to browsers, he does not yet have sufficient background to read a blog post on the new jsx transform. I wonder what percentage of the readers of this blog post has really found this introduction useful.

They don't use the word "codemod" either. Instead, they write: "we’ve also prepared an automated script that will remove the unnecessary imports from your codebase."
Subscribe

  • (no subject)

    This was a good talk. Interesting to see that SvelteKit is taking the same direction as Remix.run, by using html forms to submit data without the…

  • (no subject)

    A talk about building large-scale (React) apps. These days, the questions that concern me are: - how can a project be scaled up without…

  • (no subject)

    Watched the second episode of The Problem with Jon Stewart. I thought of Jon as an intellectual comedian. Someone who transcends the limitations of…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments