https://supertokens.com/ logo
Title
b

batmansmk

11/01/2022, 10:37 AM
Current user of auth0, we are looking for an alternative due to 2 issues: - bundle size and boot time delay: auth0/react adds 150ms to interactivity - bug on mobile: on safari, some users cannot login because auth0 isnt allowed to drop their cookie anymore
r

rp

11/01/2022, 10:40 AM
hey @batmansmk Depends on if you are using our pre built UI vs custom UI For pre built UI, depending on the auth method, it's between 115kb (emailpassword login) and 230 kb (passwordless login). These sizes are expected to drop by 50% in the next release (in 2 weeks time) For a custom UI, our bundle size is ~ 20 kb
b

batmansmk

11/01/2022, 10:41 AM
thats a lot for the prebuilt ui
r

rp

11/01/2022, 10:42 AM
right. That size will decrease very soon.
to ~ 60 kb
it's mainly due to a dependency we currently have on emotion lib and on react-select lib - both of which are going away in our next release
b

batmansmk

11/01/2022, 10:43 AM
same problem with our product lol. Too bad you dont use preact!
r

rp

11/01/2022, 10:44 AM
hmm. interesting
consider opening an issue about it on our supertokens-auth-react repo and we can see what we can do
b

batmansmk

11/01/2022, 10:45 AM
see you in 2 weeks when your build is smaller! I would have more leverage to ask for the effort of migrating away
r

rp

11/01/2022, 10:46 AM
fair enough