TypeScript Patterns For Better React Components - Glenn Reyes

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • Ever got frustrated typing the `as` prop in React components? How about this in combination with `forwardRef`? To put it short: It's not easy. Let's delve into strategies for constructing Compound Components, Polymorphic Components, and Components wrapped in forwardRef, while avoiding the use of type casts and ensure precise TypeScript typings.
  • НаукаНаука

Комментарии • 4

  • @devquen37
    @devquen37 8 месяцев назад

    the best short presentation about How to work with ReactJS and Typescript

  • @nuntiusmortis8976
    @nuntiusmortis8976 7 месяцев назад

    Great short presentation, I think it would be good to have it in article form as an easy way to quickly share the points with other engineers

  • @AnthonyPaulT
    @AnthonyPaulT 8 месяцев назад +1

    Sory, but you need to learn how to present better. Got bored bro

    • @yyydollars8456
      @yyydollars8456 7 месяцев назад +1

      Not his issue if you're a gen z