Skip to content

Type hint for all generic props for reactpy.html #868

Closed

Description

@Archmonger

Current Situation

There currently are no type hints for reactpy.html props.

Proposed Actions

We should probably long-form type-hint them for developer's convenience. We can find all available props in the react docs.

I've written a basic parser that digests the ReactJS docs and outputs names/type pairs.

https://gist.github.com/Archmonger/8d01d2efba1071f4950549004719eb19

In order to be used effectively, this will require this issue to be resolved within VSCode:

Activity

  1. added this to the milestone on Jan 4, 2023
  2. removed this from the milestone on Feb 21, 2023
  3. Archmonger commented on Mar 13, 2024

    @Archmonger
    ContributorAuthor

    VS Code now supports auto-completion for TypeDicts.

  4. Archmonger commented on Mar 1, 2025

    @Archmonger
    ContributorAuthor

    Resolved in #1281

  5. changed the title [-]Type hint for all generic props for `idom.html`[/-] [+]Type hint for all generic props for `reactpy.html`[/+] on Dec 7, 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-3-lowMay be resolved one any timeline.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions