mccordryan / firebaseui-react

FirebaseUI rebuilt as a fully functional and customizable React component.
https://fuidemo.vercel.app
15 stars 6 forks source link

Remove dynamic import requirement for faster loads #24

Closed christiangenco closed 8 months ago

christiangenco commented 8 months ago

I think right now we're using window for something related to recaptchas for phone logins and that's why we need to import the library dynamically in Next.js.

I'd love to find another way around using window (or whatever the problem was that caused us to need dynamic imports) so the component loads faster.

https://github.com/Taoula/firebaseui-react/assets/179361/0b483873-b067-42cd-9a84-9c4bc8a0d290

mccordryan commented 8 months ago

Fixed in latest version. You can remove thessr: false dynamic import.