Skip to content

React from scratch following the philosophy of the quote, "What I cannot create, I do not understand" — Richard Feynman.

Notifications You must be signed in to change notification settings

FazleRabbbiferdaus172/freact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freact

React from scratch following the philosophy of the quote, "What I cannot create, I do not understand" — Richard Feynman.

Description

Freact is a front-end library similier to react. Purpose of this library is to understand internal of React library.

This project was created following the blog linked below with few improvements of my own.

Build your own React

Improvements

  1. Rendering multiple elements in seperate containers. The blog post version was not able to render elements in multiple containers.So I added some imporvments. Instead of assigning wipRoot in the render function, we maintain a queue of wipRoot.In workLoop we check if there is no nextUnitOfwork and wipQueue is not empty then we pop the first element assign it to wipRoot and set the nextUnitOfWork.

About

React from scratch following the philosophy of the quote, "What I cannot create, I do not understand" — Richard Feynman.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published