Auth0-js VS @auth0/auth0-react

What is the key difference between using auth0-js VS @auth0/auth0-react

As per Using Auth0 SPA with Brave/Safari/ link, login works with safari if we use cacheLocation={‘localstorage’}

but may i know why we do not face the same issue with auth0-js?

I believe the difference is that we had auth0-js first and it is intended for pure JS implementations while auth0-react is geared more towards people using React framework and certainly has improvements over plain JS version if we’re talking about programming Auth0 in React