Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.

ModusCreateOrg/ext-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

[DEPRECATED] This repository is no longer maintained

While this project is fully functional, the dependencies are no longer up to date. You are still welcome to explore, learn, and use the code provided here.

Modus is dedicated to supporting the community with innovative ideas, best-practice patterns, and inspiring open source solutions. Check out the latest Modus Labs projects.

Modus Labs


ext-react

Helping Ext JS developers get up to speed with React

Live examples can be found here: http://extreact.herokuapp.com/

Q&A

Q: sencha app watch doesn't work here. How do I run this thing?

A: That's a wonderful question. Thank you for checking out this repo. Your business is very valuable to us. You're amazing. How's the cave?

  1. Run npm install. Please don't sudo. That's a n👀bie thing to do. Note: If the Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. message shows up, open Xcode and accept the new user agreement. Then re-run npm install
  2. Run npm start
  3. Navigate your browser to http://localhost:3000

Bonus steps. These are not required, but may be fun or helpful.

  • Use Chrome
  • Install React Dev Tools
  • Enable experimental support for ES6 in Chrome: chrome://flags/#enable-javascript-harmony

Todo (in no particular order):

  • Intro
    • Requirements (experience, etc)
    • How to run the demos
    • How to write new demos
    • JSX fundamentals
    • Virtual DOM
    • ES6 primer
  • Class system
    • Hello World
    • Hello user
  • Component life cycle
  • Component data models
    • Properties
    • State
    • Context
    • Combine all in one example (List)
  • JSX vs Object notation
  • When JSX is not enough - dynamic component creation
  • React.factory and cloning
  • Styling
  • Flux
  • Flux vs MVC/MVVC/MVVM
  • Stateless components (may require the next version of React)
  • Components vs Containers
  • Architecture
    • Bootstrapping an app from scratch
      • npm init
      • Managing dependencies
      • File/Folder structure
      • index.html
      • Sample hello world app
    • Webpack vs JSPM
    • Conventions
  • Creating a custom library/plugin
    • Creating a sample library
    • Including the sample library (npm link, import,...)
    • Publishing on npm
  • How ES6 helps deliver better components
    • Fix autobinding
    • import (modules)
    • Grouping modules in one package (hint: folder - index.js)
    • Using object spread in JSX
    • Tricks with destructuring
    • ... (add more)
  • Hot Reloading
  • Universal (isomorphic) apps
  • React Router
  • Redux

About

Helping Ext JS developers get up to speed with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •