Building Universal Apps
summary
Claims that one JavaScript codebase runs unchanged across browser, mobile, server and embedded devices and demonstrates it with concrete tools: JavaScript in nginx, node.js, Express, React/Redux, TypeScript, Electron and Raspberry Pi. Shows a working door unlock system that routes mobile, server and hardware calls and explains dependency injection and error propagation. Reports performance tests reaching about 27,000 requests on an 8‑core machine (≈3,000 per instance), and recommends worker processes over threading for concurrency.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:48Coding life
- 5:29Universal JavaScript
- 6:01nginScript example
- 12:12Single module booting the app
- 18:39Universal service method example
- 19:55Universal service method upgrade example
- 21:04Mobile app specific service provider example
- 21:37Npm package.json file chunk
- 22:59Higher-order component (HOC)
- 23:16HOC data and actions
- 24:12Adding redux
- 24:30Abstracting redux actions and selectors








