Pauan / rust-dominator

Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
MIT License
998 stars 63 forks source link

Fix examples in Edge #39

Closed dakom closed 4 years ago

dakom commented 4 years ago

According to the docs Edge requires that some polyfill for TextDecoder be installed.

I can confirm that it currently fails...

Or should Edge just not be supported? I suppose eventually everyone on old Edge will move on to Chromium-Edge...

Pauan commented 4 years ago

They are supported in Edge since January, and Edge auto-updates, so I'm not too worried about supporting old versions.

And the polyfills right now aren't great, so it would just add a lot of extra complexity.

dakom commented 4 years ago

Heh, well - my Edge has not auto-updated...

But fair enough - I think in a real-world use case it would be good enough to detect if TextEncoder is available and pop up an alert telling people to download a more modern browser instead. I'd almost consider it a public service to the netizens of the world ;)