Skip to content

Sanjeev232/digital-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Digital Clock

This repo is created to check DOM update method for Vanila Js and React js in real time.

Side by Side comparison DOM paint flashing

Screen.Recording.2024-02-16.at.4.36.07.AM.mov

As seen clearly in this screen recording, modern browsers are capable of efficiently making changes only to updated elements using Vanilla JS.

Final verdict

Verdict yet to add as soon as i found a solid reason for react updation (React Diffing Algorithm) is better than directly updating the DOM i will add here.

About

This repository has been created to check the real-time DOM update methods for both Vanilla JS and React JS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors