Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Discussion: Migrate codebase to TypeScript (from Flow) #353

@bengry

Description

@bengry

I hope this is the correct place to put this - I didn't find any existing similar issue, and also the Spectrum chat seems like a worse place to put this up for discussion, since it's less visible than an issue. If this is out of place, feel free to close this, but please redirect me to where this discussion can take place.


With a lot of the community moving towards TypeScript over Flow (see Yarn and Jest as big open source examples), is there a place for Popper.js, and specifically popper-react to be written in TypeScript instead of Flow? It would surely make maintaining TypeScript types either (at the expense of Flow of course, which would have to be generated/written separately). I'm focusing on popper-react over the code project since it's a lot smaller (~2K JS LOC for the react project vs ~4.5K JS LOC for the core project), and migration shouldn't be very difficult from having taken a look at some of the codebase.

Packages versions

  • Popper.js: N/A
  • react-popper: 2.x

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