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

preact@10.20.2 application is broken on old user agents #4415

Closed
1 task
adrian-wozniak opened this issue Jun 20, 2024 · 2 comments · Fixed by #4421
Closed
1 task

preact@10.20.2 application is broken on old user agents #4415

adrian-wozniak opened this issue Jun 20, 2024 · 2 comments · Fixed by #4421

Comments

@adrian-wozniak
Copy link

adrian-wozniak commented Jun 20, 2024

  • Check if updating to the latest Preact version resolves the issue

Describe the bug
Change #4318 caused that application is not rendered correctly on old user agents. Some of the components blink until they are finally rendered some of them are not rendered at all.

It turned out that isConnected API is not widely available and old user agents are no longer capable of rendering preact app properly.

To Reproduce

One of the user agents I faced that problem is Opera/9.80 (Linux mips; ce-html/1.0) Presto/2.12.407 Version/12.50 HbbTV/1.3.1 (; Humax; fvp4000t; UKTFAE 1.03.54; 1.0.0; wired) ce-html/1.0 FVC/1.0 (Humax; fvp4000t;). isConnected property is undefined.

Expected behavior
Application should be rendered properly.

@JoviDeCroock
Copy link
Member

It's available in 95% - however Preact X has to support IE11 so we have to find a solution for that. Thank you for reporting

@adrian-wozniak
Copy link
Author

@JoviDeCroock you are right, 95% definitely means "widely" 😅. I meant that it is not supported by all actively used user agents :). Anyway, thanks for handling that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants