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

Stop using React internals #419

@alexandernanberg

Description

@alexandernanberg

🚀 Feature Proposal

Stop using React internals.

Motivation

https://x.com/sebmarkbage/status/1795892981976752210

Due to its heavy use of React internals it's likely to break even in minors.
However, because it creates a fake React Element object it also means that once that object gets into React's source code it'll deopt the JS VM.

Example

N/A

Pitch

I do really think fbt offers the best DX among the i18n libs out there. However when maintainers of React highly recommends against using it, it's a hard sell.

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