Made by Vlad Stegariu and Stefan Popovici National College, Iasi, Romania.
React + Flux - files.meetup.com - Why and why not.pdf · (and a little Meteor) BucharestJS Meetup...
Transcript of React + Flux - files.meetup.com - Why and why not.pdf · (and a little Meteor) BucharestJS Meetup...
React + FluxWhy, when, why not?(and a little Meteor)
BucharestJS MeetupJune 24th, 2015
Andrei Popovici
ADYUSstartup labs
Product Manager & UX Designer
What is React?
“A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES”
JUST THE UI VIRTUAL DOM DATA FLOW
Blaze-ingly fast Easy to test,Easy to reason
Promotes separation of concerns
What is Flux?
“APPLICATION ARCHITECTURE FOR BUILDING USER INTERFACES”
NO CODE INCLUDED UNIDIRECTIONAL FLOW
The concept
The … code?
Let’s build The Button!
inspired by /r/thebutton and @Rahul
• A countdown timer• You can only click once• Timer resets when clicked• Closest to 0 wins
Rules:
The blueprint
The breakdown
Header & login
Timer
Button
Leaderboard
TheButtonApp
Demo Time - The Button
http://bucharestjs.meteor.com
andreipopovici / bucharestjs (Meteor.js)andreipopovici / bucharestjs-react (Meteor + React)
Thank you