Open callumlocke opened 6 years ago
Stage 1 is still pretty early, and that proposal very much needs to be fleshed out. It doesn't seem to be a very active proposal. Babel tends to be the playground/reference implementation for new proposals, so I'm not surprised that they have a plugin for it, but I'd like to see at least a draft of a formal semantics before beginning to implement this.
do { ... }
expressions are now stage 1 and have been supported by Babel for a while.They're especially useful in JSX, as they help you avoid nested ternaries. It would be great to be able to use them in a Flow project.