fbt icon indicating copy to clipboard operation
fbt copied to clipboard

Stop using React internals

Open alexandernanberg opened this issue 5 months ago • 1 comments

🚀 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.

alexandernanberg avatar Sep 09 '24 14:09 alexandernanberg