Skip to content
This repository provides examples of underlying change detection mechanism in modern web frameworks
JavaScript Other
Branch: master
Clone or download
maximusk Merge pull request #1 from m-sureshraj/fix-http-server-not-found-issue
Add missing http-server package as a dev dependencies
Latest commit b8cb827 Dec 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
angular change detection in js, angular and react Sep 28, 2018
js change detection in js, angular and react Sep 28, 2018
playground change detection in js, angular and react Sep 28, 2018
react change detection in js, angular and react Sep 28, 2018
.gitignore Add missing http-server package as a dev dependencies Dec 1, 2018
README.md
package-lock.json
package.json Add missing http-server package as a dev dependencies Dec 1, 2018

README.md

Implementation details of change detection in web frameworks

This repository demonstrates implementation details of change detection in web frameworks. For background, check out What every front-end developer should know about change detection in Angular and React. The repository also includes playground project where you can experiment with various change detection libraries.

Vanilla JS

The example is implemented in the js folder. It includes basic implementation of change detection using the setter JS functionality

Run the example

$ npm run js

Angular

Demo includes an Angular component compiled with the new Ivy compiler. The template property of the ngComponentDef contains the code executed during each change detection cycle.

Run the example

$ npm run angular

React

Demo includes a React component and the implementation of change detection in react.js using v-dom library.

Run the example

$ npm run react
You can’t perform that action at this time.