• stevecrox@kbin.run
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    If you have the freedom try Typescript.

    The tsx files are almost identical to jsx except for the need to define the field types your ingesting.

    While thats a little extra work, it allows Visual Studio Code to perform deeper analysis and provide much more helpful contextual hints.

    I grew to love JSX and tried TSX out of interest and you couldn’t convince to go back to pure JS

    • hector
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      TSX Code

      I actually use it in all of my projects it’s so delightful lol!