@GoyeSays
@GoyeSays
https://github.com/Goye
A library for creating user interfaces
but is more about the same?
https://facebook.github.io/react/
+
https://facebook.github.io/react/
https://facebook.github.io/react/
My MVC is better than your MVC
My MVVM is better than your MVC
My MVC is better than you MVVM
Traditional MV* separation of concerns
Model | Controller | ModelView | View |
---|---|---|---|
Data | Display logic | Database data | Templates |
A lot of complexity
https://facebook.github.io/react/
Why do people think that ReactJS is awesome?
https://blog.gyrosco.pe/facebook-just-taught-us-all-how-to-build-websites-51f1e7e996f2
http://jlongster.com/Removing-User-Interface-Complexity,-or-Why-React-is-Awesome
https://facebook.github.io/react/
That's not a new idea...
Markup with code
Markup and display logic both share the same concern
Pete hunt - Ex-Facebook and Instagram
That's ugly but functional
Everything is a component!
Virtual DOM
Re-rendering everything on every update:
Virtual DOM
Imperative | Declarative |
---|---|
Explicit instructions | Describe the outcome |
The system is stupid, you're smart | The system is smart, you don't care |
Ultimate flexibility | Limited flexibility |
Rackspace
How vs What
"Easy, fast, robust, and consistent package manager"
https://www.npmjs.com/
https://babeljs.io/
Use next generation JavaScript, today.
https://webpack.js.org/
https://github.com/Goye
https://github.com/Goye