Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why should one use React with Meteor? [closed]

Tags:

reactjs

meteor

I'm new to both Meteor and React and I didn't see the importance of using one with the other.

What features React provides that doesn't exist in Meteor ?

like image 661
elhoucine Avatar asked Mar 10 '15 11:03

elhoucine


1 Answers

React uses a different approach on building and managing UI interfaces.

For example Blaze uses jQuery to manipulate the DOM directly, while react.js is working on a virtual DOM (unattached) and when there is an update it diffs the actual & virtual DOMs and updates only the parts that differ, to make the actual DOM reflect the changes.

The big advantage of react is that you can construct reusable UI components (something similar to web components).

I would very much suggest reading this great article on react & meteor

Update 03.02.2016

The guys from Kadira, who are well versed in meteor and offer professional tooling for meteor, say that react is the way. They also published a mantra - which is basically a blueprint on how to build proper meteor apps. I suggest reading into it

like image 169
Matyas Avatar answered Sep 18 '22 02:09

Matyas