Skip to content

BaliJS/reactweek-hackathon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Open up 2 browsers side by side: http://rerenote.firebaseapp.com.

  • Add a note
  • Move a note
  • Edit a note
  • Watch the changes in the other browser

Why is this great?

  • We don't need stores - Firebase is our store
  • We don't need Flux
  • Our code is simpler as a result of using Firebase
  • It turns out Firebase and React work together beautifully:
    • the React way is to just declare what the view looks like, given a state
    • Firebase gives us exactly this, by using .on('value') callback
    • this is the simplest/rawest of all the callbacks Firebase gives is, we don't care about the changes, give us the whole lot!

About

ReactWeek Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 71.5%
  • JavaScript 26.6%
  • HTML 1.9%