10x Developer
  • Introduction
  • HTML
    • HTML DOM Jquery
    • HTML: Form
    • CSS
    • CSS Layout
    • CSS Flexbox
    • CSS Grid
    • SASS/LESS
    • CSS/LESS/SASS Cookbook
    • Bootstrap
  • JavaScript
    • JavaScript
    • ES6
    • TypeScript
    • JavaScript Testing
    • JavaScript Event Loop
    • DOM
    • Web APIs
    • JSON
    • RegEx
    • Functional Programming
    • JavaScript Lib
    • CoffeeScript
    • CoffeeScript to ES6 cheatsheet
  • Angular.js
    • Angular
    • Angular Cookbook
    • Angular Mistakes I Made
    • Angular 1.x
  • React.js
    • React.js
  • Node
    • Node.js
    • CLI command line tool
    • Electron / Atom
    • NW.js (node-webkit)
  • Serverless
    • AWS Lambda
    • Google Cloud Function
    • Actions on Google / Google Assistant
  • Full Stack Development
    • HTTP
    • Meteor
    • MongoDB
    • Digital Ocean
    • UI
    • Sketch
    • Web Dev Resources
  • Lang
    • Ruby
  • Know Your Tools
    • Chrome DevTools
    • Editor: VS Code
    • Editor: Vim
    • Editor: Sublime
    • Editor: Atom
    • Windows
    • Git
    • Linux / Bash
    • Mac
  • Cheatsheets
Powered by GitBook
On this page
  • Optimistic UI
  • Observer model in Angular
  1. Full Stack Development

UI

PreviousDigital OceanNextSketch

Last updated 6 years ago

Optimistic UI

Why? You have 100ms to respond to user input before they notice a lag.

How:

  • UX:

  • Meteor:

Observer model in Angular

  • custom subscribe method in service

  • RxJS

  • event emitter:

  • store: base-store.ts

  • angular event:

RAIL
https://www.smashingmagazine.com/2016/11/true-lies-of-optimistic-user-interfaces/
https://uxplanet.org/optimistic-1000-34d9eefe4c05
http://dev.apollodata.com/react/optimistic-ui.html
http://stackoverflow.com/questions/36076700/what-is-the-proper-use-of-an-eventemitter
http://stackoverflow.com/questions/34700438/global-events-in-angular-2