Audience sponsored by Shopee
⚛️ React updates ⚛️
Preact is the 3kB alternative to React with the same modern API. The release in Preact X contains a lot of features from React 16, which isn't supported by earlier versions of Preact. Features like Fragments, componentDidCatch, new context, and hooks are now supported by Preact.
Official announcement by Dan Abramov
See the blog for useParams, useLocation, useHistory, and useRouteMatch hooks here.