# New React SDK Beta Available!

**URL:** <https://community.auth0.com/t/new-react-sdk-beta-available/44179>\
**Category:** Announcements\
**Tags:** beta, react-sdk, reactjs, sdk, auth0\
**Created:** [June 5, 2020, 3:01pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179 "2020-06-05T15:01:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [June 5, 2020, 3:01pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/1 "2020-06-05T15:01:14Z")

</div>

Fantastic news, we have a new open beta SDK for React applications!

This new SDK provides a of hook and higher-order components to make integration into your React application easier, such as `useAuth0` for performing authentication, `withAuthenticationRequired` for protecting routes and `withAuth0` as an alternative to the hook for use with class components.

We have created this new React SDK in order to improve the developer experience when integrating Auth0. This SDK makes it easier to integrate Universal Login into React applications, requires fewer lines of code and takes care of common tasks developers have been previously burdened with, such as safely storing and renewing tokens.

When you get a chance check out our new [React SDK Beta Category](http://community.auth0.com/c/auth0-beta-programs/react-sdk-beta/83) and join in on the beta fun as you build your next non-production app with this! We would love your feedback!

Resources:

- GitHub repository - [GitHub - auth0/auth0-react: Auth0 SDK for React Single Page Applications (SPA) · GitHub](https://github.com/auth0/auth0-react)
- SDK reference docs - [@auth0/auth0-react](https://auth0.github.io/auth0-react)
- [Quickstart](https://auth0.com/docs/quickstart/spa/auth0-react)
- [Reference sample](https://github.com/auth0-samples/auth0-react-samples/tree/migrate/auth0-react/01-Login)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 5, 2020, 3:51pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/2 "2020-06-05T15:51:32Z")

</div>

Let us know if you have any questions!

---

<div class="post-metadata">

**Author:** ![mtt87](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mtt87/32/17539_2.png) [@mtt87](https://community.auth0.com/u/mtt87)\
**Post date:** [June 5, 2020, 4:52pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/3 "2020-06-05T16:52:55Z")

</div>

Had a quick looks, seems great but could you perhaps highlight what are the differences compared to the existing `auth0-spa-js` solution that we’ve been using with React?

Thank you 😄

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 5, 2020, 5:18pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/4 "2020-06-05T17:18:22Z")

</div>

@mtt87,

Great question!

This SDK is built on top of auth0-spa-js. The intention here is to abstract away some of the complexity of integrating auth0-spa-js with a React app. This SDK provides a solution for integrating with Auth0 that feels native to React. Specifically, it provides an Auth0 hook, functional and class component support, Typescript support, resulting in a generally easier and more efficient experience for React developers and projects.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 20, 2020, 8:10am UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/8 "2020-11-20T08:10:53Z")

</div>

Glad to hear that! Let us know if you have any questions!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 2, 2021, 1:11pm UTC](https://community.auth0.com/t/new-react-sdk-beta-available/44179/9 "2021-11-02T13:11:40Z")

</div>


