Some other /^Use(full|less)?$/ bits.
Zak Burki
3rd March 2015
Anyone know who this is?
Wendy Davis - Filibusterer of the Year 2014
Did you know? Filibuster is derived from the Dutch term: vrijbuiter (freebooter or robber) Robbing your time perhaps?
Actual Real Life Comments:
"Zak, Start Learning React Now! I swear, I am enjoying coding again, It's that Good."
- Geek Friend, Berlin
"Because we are smart - and we know what we're doing!" - Facebook Employee, SF
"I've had enough of the tech we are currently using - surely this must be better?!" - USV Backed Startup Founder, NY
It's not an MVC Framework.
It's only the V in MVC. The View.
The bad: You still need to build your Application! In essence - it is more work.
The good: You can use it with almost anything!
It's not truly competing with
Ember / Angular / Express / Meteor / Rails / Django / Batman
Can be used with all of these and more.
If anything, it's competing more with jQuery and other libraries that are handling DOM manipulation (including rendering) and Event Handling.
You Can Build Your Entire App with
REACT + FLUX + React-Router + Your Choice DB
But FLUX is not a framework - and is made up of several components. The most important component of Flux
-> DISPATCHER.
This is the Central Hub that controls/handles all the data and actions requested to it and returns stuff to your callbacks
WILL COMPETE
WITH OTHER MV(C)(VM) FRAMEWORKS
The Internet.
But the Facebook React site is so messy:
http://facebook.github.io/react/docs/getting-started.html
Assuming you've used the MEN stack or similar:
http:/scotch.io/tutorials/
Small Demo Time!
Build a Twitter Stream with React.
Great Tutorial.
React + Meteor.js
Packages are available on Atmosphere to
allow you to use React Components with reactive data sources.
Demo Time!
But you can use directly in your code!
https://hackhands.com/react-rails-tutorial/
Build The Comments Example from Fbook React Tutorial Step By Step.
One of the easiest Tutorials I have ever followed. I rarely write Ruby and got it working fine.
What would be another good combo?
A Mongo Style DB that you can watch for changes automatically and push with web-sockets .
Enter RethinkDB (Mongo on Acid)
React + RethinkDB.
Get rid of the sockets.io code that we have to write ourselves in the MERN stack. Do a changefeed watch. Any changes on the DB will automatically get pushed to the view.
But. You're not learning to use React to make your life easier in the short term are you?
You're looking at the Longer Term Tangible Benefits.
Tell us more about these so-called long-term tangible benefits:
Benefits:
Drawbacks:
Also....
Best thing in my view:
Use React to build one small component in your Web Application. See if you like it.
Maybe Yes:
Maybe No:
Perhaps the Functional - Declarative Design Pattern for Creating User Interfaces is the Future of Web Dev.
But Maybe Angular.js and other frameworks will gravitate to a similar UI code design pattern if it really makes sense for them to.
Early Days.
I wouldn't (fully) count on it.
The Geeks in the Valley (and worldwide) are sure to create new tech based on the same principles.
You like the sound of React?
Why don't you also check out the other frameworks that use the virtual dom approach:
Mithril (http://lhorie.github.io/mithril/):
Client-Side MVC Framework. The lightest of lightweights. Performance Ratings Kicks Serious Ass.
Mercury (https://github.com/Raynos/mercury) :
Similar to React - but very modular. Can swap out components you don't like for ones you do.
Follow Me:
@zakburki
Meetup.com Group:
codelearn-hk
bitbucket:
zakir2k