Promise as React element type

For fun, here’s a proof-of-concept based on an idea by @sebmarkbage.
If a promise is passed to React.createElement, on initial mount, React waits for the promise to resolve to a React element type….

Similar

Complementary React Libraries in 2020

A comprehensive list of all the relevant React libraries used in 2020. If you are new to React, its ecosystem may be overwhelming at first. However, all these React libraries offer everything you need to build large scale applications with React ... (more…)

Read more »