Skip to content

Allow JavaScript components inside of props dict #1319

Description

@Archmonger

Current Situation

Libraries like MaterialUI use components within the props dictionary, and this currently isn't supported by ReactPy.

Ref: #989 (comment)

Proposed Actions

To add support for packages including (but not limited to) MaterialUI, we need to spend some additional thought on how to allow JavaScript components to be added as a prop value . This may result in adding some kind of internal flag that signifies "this prop value contains a component".

Activity

  1. added
    priority-2-moderateShould be resolved on a reasonable timeline.
    type-revisionAbout a change in functionality or behavior
    and removed on Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-2-moderateShould be resolved on a reasonable timeline.type-revisionAbout a change in functionality or behavior

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions