Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 

README.md

React in Angular

This repo is simply an example of using React in AngularJS. There are three tags. Check them out in order to see the process of moving an Angular app to React. Kinda fun and stuff :-)

Note: In an effort to make the transition from angular to react as smooth as possible, some of the file structure/naming may resemble angular a little more than react (for example MainCtrl).

To use

$ git clone https://github.com/kentcdodds/react-in-angular.git
$ cd react-in-angular
$ git checkout step1
$ npm install
$ webpack-dev-server --content-base app

Go to localhost:8080 and play around a bit. This is a 100% angular app.

$ git checkout step2
$ npm install
$ webpack-dev-server --content-base app

Go to localhost:8080 and play around a bit. This is a 50% angular app, 50% react app.

$ git checkout step3
$ npm install
$ webpack-dev-server --content-base app

Go to localhost:8080 and play around a bit. This is a 100% react app.

About

An example of migrating something from angular to react

Resources

Packages

No packages published
You can’t perform that action at this time.