wicked-sick / change-detection-in-web-frameworks

This repository provides examples of underlying change detection mechanism in modern web frameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

This repository provides examples of underlying change detection mechanism in modern web frameworks


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:CSS 0.0%