cssinjs/jss

[react-jss] Observable rules/values

Open

#995 geöffnet am 20. Jan. 2019

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (7.000 Stars) (434 Forks)batch import
bugcomplexity:moderatehelp wanted

Beschreibung

Expected behavior: Observables should work without explicitly passing link: true as options and should be part of the static stylesheet. And no dynamic stylesheet should be generated when only observables are used.

Describe the bug: Currently, observables are part of the static sheet but the user needs to pass link: true and a dynamic sheet will also be generated.

Codesandbox link: https://codesandbox.io/s/01ro5xn32p

Versions (please complete the following information):

  • jss: 10.0.0-alpha.8

Contributor Guide