Setting Cookies in React – Netlify

Setting up cookies is something pretty trivial in web development. In this post I walk through the process doing it in React.


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

Read more »