-
-
Notifications
You must be signed in to change notification settings - Fork 44
Research
Related to #99.
Also:
- See Concurrency in Advanced Topics
- JavaScript Iterop
- JSON, JSON
- Child/parent component comms
- HTML/templates/vue
- brain hack
- ADTs
- https://www.reddit.com/r/elm/comments/4o79vj/what_does_the_syntax_mean_in_an_update_function/
https://news.ycombinator.com/item?id=4040929
Useful for offline web apps.
From: https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md
We can use service workers:
- To make sites work faster and/or offline using network intercepting
- As a basis for other ‘background’ features such as push messaging and background synchronization
From: https://jakearchibald.com/2014/using-serviceworker-today/
ServiceWorker is a background worker, it gives us a JavaScript context to add features such as push messaging, background sync, geofencing and network control.
In terms of network control, it acts like a proxy server sitting on the client, you get to decide what to do on a request-by-request basis. You can use this to make stuff work faster, offline, or build new features.
And:
With the ServiceWorker, we get to first-render over a second faster, and our first render includes images, which takes 16 seconds without ServiceWorker. They're cached images of course, but ServiceWorker allows us to present a fully-rendered view while we go to the network for latest content.
If our documentation for devs starts getting unwieldy, take a look at some of the doc gen stuff out there:
- Gitbook: http://vuex.vuejs.org/en/intro.html
- Read the Docs: http://solidity.readthedocs.io/en/latest/
- TrustOSS: https://github.com/trustoss