Skip to content

Latest props are not used in calculation of theme #78

Closed
@GenoD

Description

@GenoD

Describe the bug
When a new theme is passed to a themr wrapped component props, the old theme is still present.

To Reproduce
Steps to reproduce the behavior:

  • Create a component that utilized react-css-themr.
  • Pass a custom theme needed to style child components
  • Update them after initial render
  • Notice old theme is still provided

Expected behavior
When theme is updated, recalculate with latest props

All platforms affected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions