cssinjs/jss

[react-jss] Observable rules/values

Open

#995 opened on Jan 20, 2019

View on GitHub
 (10 comments) (0 reactions) (0 assignees)JavaScript (7,000 stars) (434 forks)batch import
bugcomplexity:moderatehelp wanted

Description

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