Skip to content

Optimize createRuntimeFn #158

@black7375

Description

@black7375

Packages with the problem

@mincho-js/css

Describe the bug

I want to reduce the amount of code that runs at runtime as much as possible.

Expected behavior

For example, the following can be computed at compile time:

  • .variants()
  • .classNames.base
  • .classNames.variants

Additionally, there is room for further optimization of the code of runtime functions.

Screenshots

No response

Steps To Reproduce

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions