przeor / react-faq

A collection of links to help answer your questions about React.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React FAQ

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 best practices and how and why to use patterns and styles. Patterns etc... are still being discovered, it's okay if you don't know all the terms. Remember we're all learning. Read, Try, Mess Up (it's okay), Learn.

Enjoy the links and please share/link back to this repo. If it helped you it might help someone else.

#Start

I don't know React what should I watch / read before I start?

#Creating a React Project

How do I create a new React project?

Can I play around with React Online?

#Why use React

What so good about React?

#JSX What's JSX?

#State How do I handle state?

How can I decouple state and UI?

#Passing Data

How do I pass props?

Should I use import, props, or context in React?

How do I pass boolean values?

#Component Types

How do I decide what type of Component to use?

Presentational and Container Components -> http://reactpatterns.com/#Container%20component

Higher-Order Components -> http://reactpatterns.com/#Higher-order%20component

Function as Child Components -> http://reactpatterns.com/#Function%20as%20children

Stateless Function -> http://reactpatterns.com/#Stateless%20function

#Binding

What is this bind thing?

#Rendering

What should go in the render function?

#Lifecycle Methods

What are Lifecycle Methods?

#Patterns

#Learning

What do I need to know about React to get started?

#Gotchas

What are some React Gotchas?

#Refs

What are refs and are string refs are bad?

#PATENTS What's all this stuff I hear about Facebook PATENTS clause?

#Mixins

Why are Mixins Considered Harmful?

#Internationalization

How should I handle internationalization?

#Third Party Libraries

How do I use third party libraries?

#Performance

How can I make my app faster?

#Context ⚠️ Context is an advanced and experimental feature. The API is likely to change in future releases. The rumours of its existence are true but be careful!

#Animations

How do I animate things in React?

Is there declarative api for animations?

#Redux and Mobx

What's (Redux/Mobx)?

Do I need to use (Redux/Mobx)?

#Add to an existing app

How do I start adding React to an existing app?

#CSS and React

What about styling things in React?

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'?

#Testing

#Video Courses

What are some good video resources/courses to learn React?

#A11Y

What about accessibility?


How do I handle A11y in React

#Training

Where can I get React training?


Micheal Jackson @mjackson & Ryan Florence @ryanflorence


*Brian Holt* @holtbt

#Books

Where can I find some good books about React?

About

A collection of links to help answer your questions about React.js