Skip to content

diegoneemu/migrating-angularjs-to-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Diego presente Jeef presente

About

An example of migrating something from angular to react

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.2%
  • CSS 7.3%
  • HTML 3.5%