cssinjs/jss

react-jss: Observables issue

Open

#1,193 建立於 2019年9月17日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (434 fork)batch import
bughelp wanted

倉庫指標

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

描述

Expected behavior: Observables should not change the {link: true} to {link: false}

Describe the bug: If Observable's internal method is enumerable, then react-jss considers it a dynamic style and adds an unnecessary empty class. On the other hand, if the method is not enumerable, then the empty class is not added, but it does not link the styles and observable styles do not work.

Codesandbox link: https://codesandbox.io/s/react-jss-v1000alpha-25-observable-issue-g8998

Versions (please complete the following information):

  • jss: 10.0.0-alpha.25
  • Browser [e.g. chrome, safari]: Chrome
  • OS [e.g. Windows, macOS]: Windows

貢獻者指南