Meteor, meet React.
React, meet Meteor.


                                        +      


Gerard Sychay
Chicago Meteor
DIFFERENTIAL
Apr 9th, 2015 

Administrivia





ME



YOU

A (Very) Brief 
introduction To react




React is:


༶ A framework for creating Javascript components


༶ Focused on the UI only

Opinionated



world's simplest 

react component






</>

Reasons to use react




༶ Disciplined Composability



༶ Powered By Facebook



VIrtual Dom

So You Say Your Dom is Virtual?



A rendering abstraction layer
that allows for:


Server-side Rendering 



Speed 



Agnosticism to render targets




So You Want To Use 

React with meteor?



Do you want to:


༶ Use React components within Blaze?


༶ Use React Instead of Blaze?


༶ Use React Without Meteor?

        

METEOR, MEET REACT



Package:    avital/react-in-blaze




{{> ReactComponent type="HelloWorld" }}




METEOR, MEET REACT



Package:     REACTJS/REACT-METEOR


var HelloWorld = ReactMeteor.createClass({
  getMeteorState: function() {
    return {
      value: Session.get('value')
    };
  }
});


Maintained by MDG?

METEOR, MEET REACT



Package:     MYSTOR/ROUTECORE 


var HelloWorld = React.createClass({
  render: function() {
    var value = Session.get('value');

    return <div>Hello World! Value is: {value}</div>; } });



Routing!


Server-side rendering!

Let's build an app





...With Meteor


...AND
mystor:routecore



</>

But WAIT, there's more!



Let's build an app



...With
REACt     



...AND
Asteroid!



</>

A NOTE ABOUT POLYMER





What does it mean?




I Don't Know !



And other questions ?


Thank
You

Gerard Sychay | Differential  

github.com/differential/todos-playground


Meteor, meet React. React, meet Meteor.

By Gerard Sychay

Meteor, meet React. React, meet Meteor.

Meteor and React were made for each other. Or were they? (Repo: https://github.com/Differential/todos-playground) (Video: https://www.youtube.com/watch?v=cYrTLZ4kcsU&feature=youtu.be&t=9m32s)

  • 3,391