Skip to content

Instantly share code, notes, and snippets.

@hedleysmith
Last active October 21, 2019 12:59
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hedleysmith/a54efb0e608ce9db99203492d2ec7d94 to your computer and use it in GitHub Desktop.
Save hedleysmith/a54efb0e608ce9db99203492d2ec7d94 to your computer and use it in GitHub Desktop.
React.js Examples & Boilerplates

React.js Examples & Boilerplates

A curated list of non-trivial boilerplates, starter kits and examples of React.js based apps.

Frameworks

Static Sites

Key

🚀 Production App. An actual real app which is in use in production.

🌍 Unviersal. Shared codebase across a web, mobile (React Native) and desktop.

♻️ Isomorphic. Pre-renders HTML on the server.

📋 Well documented. Good documentation coverage, both in README and in inline documentation.

✅ Test coverage. Solid test coverage or comprehensive examples of how to get started with tests.

Ideas

  • Feature comparison, e.g:
    • Build Tools (Webpack, Gulp, Grunt, npm)
    • Styling (Sass vs PostCSS vs Inline)
    • Async / Side Effect Management (Sagas vs Thunks vs Async Connect, optimistic updating, Fetch API vs Superagent)
    • Data Structure & Transformations) (Immutable JS vs Vanilla vs Merge vs React immutability helpers)
    • Data Transport Layer - HTTP, Websockets, LocalStorage
    • Code Style (AirBnB vs Standard)
    • Authentication
    • Code Structure
    • Testing (Mocha, Karma, Sinon, Chai, React Test Utils, Enzyme?)
    • Configuration Management nconf vs dotenv etc
    • Component Structure Higher-order compoents, smart components, container components?
    • Performance & Accessibility
    • Service Layer Backend service example? Docker?
  • Code complexity comparison https://www.npmjs.com/package/complexity-report
  • Lines of code in app
  • Number of components, actions & reducers
  • Number of tests
  • Number of dependencies & devDependencies
  • Total open issues, stars, PRs etc
  • Size of production bundle.js
  • Group into 'Redux' and 'Other'

Other Lists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment