cssinjs / cssinjs/jss

[react-jss] Observable rules/values

Open
#995 10 comments 0 reactions 0 assignees View on GitHub
bug complexity:moderate help wanted
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.