Skip to content

Support full syntax in function rules and values #682

Description

@kof

Currently the only plugin that we run over function values/rules is jss-default-unit. The problem with running every plugin over it is that we would add performance overhead to something that is supposed to be usable for animations.

Originates in https://github.com/cssinjs/react-jss/issues/185

Cases:

  • fallbacks in fn rules
  • media queries inside of function rules
  • media query as a fn rule nested
  • function values inside of media rules
  • jss-nested inside of fn rules
  • jss-nested as a fn rule
  • jss-global should support function values and rules
  • jss-compose should support linking function rules
  • jss-compose should support linking rules with fn values
  • jss.use(pluginObservable({process: false})), test for disabling plugins

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity:highBest brains need to talk about it.feature requestThis will safe many lifes!importantThe thing you do when you wake up!

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions