~/talk

Isomorphic web applications

TalkinItalianat Universal JS Day 2017 · on Saturday, 2017-04-08· [web-platform, javascript]
slides:none on file

An isomorphic booking application implemented with Mithril.js renders the full HTML on the server (streaming from Node/Express) and then boots a single-page app on the client, keeping 90–95% of code shared between server and client. The approach reproduces identical routes and localization on both sides, injects preloaded state into a script tag, uses stateless JWTs for authentication, and addresses practical issues like routing tweaks, request plumbing, async component initialization, and avoiding SEO problems via server-side streaming render.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Motivation for isomorphic apps
  3. 4:28SSR + SPA solution
  4. 7:21Live demo and docs
  5. 9:11Isomorphic benefits
  6. 10:59Mithril framework
  7. 14:38Why Mithril
  8. 15:00Isomorphic challenges
  9. 19:36Shared routing
  10. 21:52Component composition
  11. 24:00Component lifecycle
  12. 25:53Async data handling
  13. 28:01Uniform HTTP requests
  14. 29:03Shared state
  15. 31:56Auth and authorization
  16. 33:19Multilingual handling
  17. 35:50Internationalization
  18. 36:14Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.