Skip to content

Allow JavaScript components inside of props dict #1319

@Archmonger

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

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 flag that signifies "this prop value is a VdomDict containing a JavaScript child".

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