Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Flowbite init wrokarounds when APIs take more time #208

Open
Joe2k opened this issue Nov 23, 2023 · 2 comments
Open

Add more Flowbite init wrokarounds when APIs take more time #208

Joe2k opened this issue Nov 23, 2023 · 2 comments

Comments

@Joe2k
Copy link
Contributor

Joe2k commented Nov 23, 2023

Feedbacks:
"As such, no difficulties were faced while using the hub. There were instances,although very fee, where the option for submitting scores was sometimes not popping up or popping up after quite a bit of time."

"every time i clicked on spirit details of the match i couldn't go back to the site and the screen faded"

@punchagan
Copy link
Member

I think it's worth looking into whether there's a better component library that's more compatible with SolidJS. This workaround is getting annoying at this point.

Another option would be to use some kind of a library to do our fetch calls, which allows a callback hook on all successful fetches, where we call a flowbite init.

@Joe2k
Copy link
Contributor Author

Joe2k commented Nov 24, 2023

In our solid-queries we do get callbcaks right? We can just listen to just loading() changes and initFlowbite in an createEffect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants