Tic-Tac-Toe.js: redux pattern in plain javascript — Medium

Tic-Tac-Toe.js: redux pattern in plain #javascript:  #reactjs

  • Every time the store gets updated it notifies the subscribers so they can update the UI .
  • At work I mostly use vanilla javascript it is more beneficial for me to learn the concepts rather than the frameworks themselves.
  • State is read-only The only way to mutate the state is to emit an action, an object describing what happened.
  • 3. Reducers receive actions and return new state
  • Because everything is based on actions, which are by definition simple objects, the only requirement on the Back-end would be: receiving the action and dispatching it to other players connected in the same room/game id.

Read the full article, click here.


@ReactiveConf: “Tic-Tac-Toe.js: redux pattern in plain #javascript: #reactjs”


There’s this thing going on in the Front-End Development community where everybody wants to re-write their applications to use React. Sorry…


Tic-Tac-Toe.js: redux pattern in plain javascript — Medium