Skip to content

kevinsalter/react-tutorial-es6-plus

Repository files navigation

React Tutorial (ES6+)

I'm wondering if it'd be useful to use a super-small app like this as a living styleguide that we can all comment on and contribute to while we hash out our team's internal standard way of writing React apps.

If you've got comments or ideas, pull this repo and add to it! 🚀

This repo is a version of the official React Tutorial.


Getting Started

npm install to install dependencies

then npm start to start the front-end and npm run server to start Node.js (for persisting comments to comments.json)


Some discussion points around writing React Components

  • React.createClass or class xxxxxx extends React.Component or both?
  • should we aim for stateless components first?
  • what are best practices for defining propTypes?
  • how to use Container Components article1 article2

And in general...

  • good ways to integrate with Backbone Models and Collections?
  • how do we want our folder structure?
  • how to we want to include CSS?
  • how should Unit Tests look/work?
  • how do we handle UI animation?

About

An example ES6+ React App based on the Official Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published