4 ms·
It is interesting (and cool) that this uses Typescript over Flow. It seems like Flow is still being developed too. Just looking at the top level package.json [
by latchkey 4y ago
It is interesting (and cool) that this uses Typescript over Flow. It seems like Flow is still being developed too.
Just looking at the top level package.json [1], I wonder at which point you abstract all those copy/pasted targets into a script that takes an argument.
[1] https://github.com/facebook/lexical/blob/main/package.json#L33 https://github.com/facebook/lexical/blob/main/package.json#L...
- _the_inflator 4y agoEven FB engineers can learn a thing or two. ;) Good tip.
- latchkey 4y agoThanks! I guess the last 20 years of writing code were not a waste after all. Heh. =)
- zwily 4y agoWhen they first launched a few months ago it was all Flow, and then it was quickly converted to Typescript. I think they still ship the Flow types too.
- thegreatercurve 4y agoI've been migrating the Lexical codebase to TypeScript recently, especially since it was open-sourced. This was done for a few reasons, but if nothing else, we know TypeScript has a much wider adoption that Flow. Removing learning curves helps to encourage contributions from the community.