timarney / react-faq
- четверг, 25 августа 2016 г. в 03:13:01
203 stars today
A collection of links to help answer your questions about React
This guide aims to pull together some resources from around the web into a central location for quick reference. It aims to point to quality content to help understand React core concepts.
In the future it might cover patterns and best practices (how and why to use).
For now enjoy the links and please share/link back to this repo. If it helped you it might help someone else.
I don't know React what should I watch / read before I start?
https://facebook.github.io/react/docs/thinking-in-react.html
https://www.youtube.com/watch?v=x7cQ3mrcKaY (Pete Hunt: React: Rethinking best practices)
How do I create a new React project?
https://github.com/facebookincubator/create-react-app (official)
https://github.com/insin/nwb (if you need more control of the setup / config)
Can I play around with React Online?
http://codepen.io/Arney/pen/OXYqWb // App extends React.Component style
http://codepen.io/Arney/pen/QERoaQ // React.createClass style
What so good about React?
https://vacuumlabs.com/blog/7-strengths-of-react-every-programmer-should-know-about
https://facebook.github.io/react/contributing/design-principles.html
What's JSX?
https://facebook.github.io/react/docs/jsx-in-depth.html
How do I handle state?
https://medium.com/react-ecosystem/how-to-handle-state-in-react-6f2d3cd73a0c#.dwz84fx9s
https://twitter.com/dan_abramov/status/749710501916139520
http://brewhouse.io/blog/2015/03/24/best-practices-for-component-state-in-reactjs.html
How do I pass props?
https://facebook.github.io/react/docs/transferring-props.html
Should I use import, props, or context in React?
What do I need to know about React to get started?
https://github.com/petehunt/react-howto
http://media.bemyapp.com/intro-react-js-core-concepts
https://github.com/reactjs/react-basic/blob/master/README.md (Basic Theoretical Concepts)
https://medium.com/react-ecosystem/components-the-war-horses-of-react-1085dddc14e5#.egkrhoxtz
What are some React Gotchas?
https://daveceddia.com/react-gotchas/
What are refs and are string refs are bad?
https://facebook.github.io/react/docs/more-about-refs.html
https://twitter.com/dan_abramov/status/752936646602031104
https://news.ycombinator.com/edit?id=12093234
What's all this stuff I hear about Facebook PATENTS clause?
https://gist.github.com/gaearon/df0c4025e67399af72786d7ac7c819cc
Why are Mixins Considered Harmful?
https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html
How do I decide what type of Component to use?
https://toddmotto.com/react-create-class-versus-component
https://www.peterbe.com/plog/4-different-kinds-of-react-component-styles
https://reactjsnews.com/composing-components
https://www.youtube.com/watch?v=GWVjMHDKSfU&feature=youtu.be&a
Presentational and Container Components
https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.xo2al5187
Higher-Order Components
https://medium.com/@franleplant/react-higher-order-components-in-depth-cf9032ee6c3e#.mpb29ree6
https://www.sitepoint.com/react-higher-order-components/
http://engineering.blogfoster.com/higher-order-components-theory-and-practice
Function as Child Components
https://medium.com/merrickchristensen/function-as-child-components-5f3920a9ace9#.10fbiyqc5
How should I handle internationalization?
https://medium.freecodecamp.com/internationalization-in-react-7264738274a0#.bcfxgycwv
How do I use third party libraries?
https://www.youtube.com/watch?v=GWVjMHDKSfU&feature=youtu.be&a
How can I make my app faster?
https://twitter.com/dan_abramov/status/759383530120110080
https://medium.com/@esamatti/react-js-pure-render-performance-anti-pattern-fb88c101332f#.hewsz120q
http://jamesknelson.com/should-i-use-shouldcomponentupdate/
What is this bind thing?
https://daveceddia.com/avoid-bind-when-passing-props/
What should go in the render function?
https://medium.com/@SimonRadionov/return-as-soon-as-you-know-the-answer-dec6369b9b67#.82kxymyki
What are Lifecycle Methods?
https://medium.com/@notrab/going-further-with-react-lifecycle-methods-2ffdc5bdf52c#.bu0ufrosb
https://facebook.github.io/react/docs/component-specs.html
https://twitter.com/pbesh/status/738008776805060608
https://medium.com/react-ecosystem/react-components-lifecycle-ce09239010df#.w7v5cw6tk
https://medium.com/react-ecosystem/how-to-handle-react-context-a7592dfdcbc#.rtwgxxy0d
How do I animate things in React?
What's (Redux/Mobx)?
https://www.reddit.com/r/reactjs/comments/4npzq5/confused_redux_or_mobx/
Do I need to use (Redux/Mobx)?
https://twitter.com/dan_abramov/status/737036433215610880
How do I start adding React to an existing app?
https://scotch.io/tutorials/how-to-sprinkle-reactjs-into-an-existing-web-application
What about styling things in React?
https://facebook.github.io/react/tips/inline-styles.html
http://shoptalkshow.com/episodes/180-panel-on-inline-styles (PANEL ON 'INLINE STYLES')
https://blog.grommet.io/post/2016/08/10/css-in-js-may-not-be-the-solution-to-all-your-problems
http://www.dadsindev.com/12 (CSS in JS + CSS Modules)
https://www.youtube.com/watch?v=BXOF_8jDdf8 (CSS in JS tech chat)
Are there any tools available to convert 'css' to 'CSS in JS'?
https://jsbin.com/dugija/edit?js,output
What are some good video resources/courses to learn React?
https://egghead.io/courses/react-fundamentals (they have a bunch)
https://frontendmasters.com/courses/react-intro (they have a bunch)
http://courses.reactjsprogram.com/courses/reactjsprogrambundle
https://egghead.io/courses/manage-complex-state-in-react-apps-with-mobx
Where can I get React training?
Where can I find some good books about React?