Pete Hunt - Component Based Style Reuse

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

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

  • @Fahad-dh7wg
    @Fahad-dh7wg 7 лет назад +1

    css modules could fix the class name conflict issues no? since the classnames and css rules are attached a unique hash?

  • @joshua0427
    @joshua0427 7 лет назад

    Another solution to style collision? Use web components. All styles are automatically scoped to the individual component without needing to do anything else or add anymore build tools. And you can just use CSS.

  • @elQueFaltaba
    @elQueFaltaba 8 лет назад

    Well, what about media queries? Or do you calculate these in the jsx files?

  • @dennishansen6545
    @dennishansen6545 8 лет назад

    Great video, totally agree with your inline style sentiment.