Skip to content

Instantly share code, notes, and snippets.

View InamTaj's full-sized avatar
🎯
Hacking @ deep-learning

Inam Taj InamTaj

🎯
Hacking @ deep-learning
  • Lahore, Pakistan
View GitHub Profile
@InamTaj
InamTaj / ui-in-global-store.md
Created February 26, 2020 20:04
Why use Global Store (like Redux) to manage UI state?

ui-in-global-store

Why use Global Store (like Redux) to manage UI state?

  • Performance
    • Enables writing stateless function components which are:
      • simple or can be further broken down into bite-sized function components
      • debuggable (no need to worry about handling data)
      • more performant & scalable (in contrast, creating objects of class component has a memory cost)
  • greater control for optimising later on (via selectors and memoization)

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@InamTaj
InamTaj / byobuCommands
Created July 21, 2016 05:49 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window