Best of JSXDecember 2022

  1. 1
    Article
    Avatar of logrocketLogRocket·3y

    Using the React children prop with TypeScript

    Using the React children prop with TypeScript Properly typing the prop in React can pose some difficulty at first. If you try typing them as specific JSX types, you may run into issues rendering the child components. There's also the problem with the paradox of choice, as there are multiple available options to type the children prop.

  2. 2
    Article
    Avatar of logrocketLogRocket·3y

    Type HTML faster in React with Emmet and VS Code

    Type HTML faster in React with Emmet and VS Code Visual Studio Code. Emmet helps you write HTML and CSS faster by using simple abbreviations that are then converted into code blocks. By default, Emmet is not enabled for React in VS Code, so it doesn't require any additional installation.