cssinjs/jss

[react-jss] each re-render of component appends new rule with media query

Open

#1,044 建立於 2019年2月23日

在 GitHub 查看
 (1 留言) (3 反應) (0 負責人)JavaScript (434 fork)batch import
bugcomplexity:highhelp wantedimportant

倉庫指標

Star
 (7,000 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Expected behavior: There's computed style with media query (&:hover etc..)

Describe the bug: Each re-render of component appends new rule with media query

Codesandbox link: https://codesandbox.io/s/7yxv3r5jp1 (see to console)

Versions (please complete the following information):

  • jss: 10.0.0-alpha.10
  • Browser chrome
  • OS macOS

貢獻者指南