question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Web worker support

See original GitHub issue

In order to support web worker rendering I think we would need a way to do only the diffing part in the worker that generates patches (like with Matt-Esch/virtual-dom) that are plain objects. These patches could be sent back to the window side and patched.

Is this something that you’d be interested in supporting? If so I could possibly contribute. How difficult would it be to split patch() into a diff and a patch?

Thanks!

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aronallencommented, Feb 2, 2017

@carloslfu I actually managed to enable DOM.select().events() and DOM.select().elements() from within the webworker, makes things alot cleaner. Basically you need to create an observable and then inform the main thread to make the listener. I can’t share any code, but it is possible.

0reactions
mightyiamcommented, Dec 24, 2019

Seems like this depends on #286.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Workers | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Worker - Web APIs - MDN Web Docs
Chrome Edge Worker Full support. Chrome4. Toggle history Full support. Edge... Worker() constructor Full support. Chrome4. Toggle history Full support. Edge... Support for ECMAScript modules Full...
Read more >
The State Of Web Workers In 2021 - Smashing Magazine
A table taken from caniuse.com, showing that every browser supports Workers. Web Workers are fully supported in every browser since IE10.
Read more >
Browser Compatibility Testing of Web Workers - LambdaTest
BROWSER SUPPORT FOR Web Workers · Google Chrome · Mozilla Firefox · Internet Explorer · Safari · Microsoft Edge · Opera.
Read more >
Browser versions that support web workers? - Stack Overflow
Internet Explorer 10, Firefox, Chrome, Safari and Opera support Web workers. But it is a bit vague for me. It does not state...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found