Skip to content

An UN-OPTIMIZED MESSY Javascript front-end framework/library

Notifications You must be signed in to change notification settings

koribot/koribotJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome ✨ ✨

To run

> npm install


//to use parcel
> npm run dev-parcel

//to use http-server
> npm run dev-http

To-dos

  • Optimize diffing

  • Optimize rerendering

  • Optimize state management

  • Optimize routing

  • add more event listeners

      if-click --- click
      if-change --- input
    
  • implement, didMount, didUnmount (current implementaion is rerendering the root, childs(components) also rerenders)

  • Optimize processHTML()

Current implementation does not parse the string directly. Instead, it is placed in a temporaryContainer's innerHTML. Subsequently, it is passed to the processNode function, which transforms the DOM structure <div>Hello</div> into a virtualDom representation:

{
  "tagName": "div",
  "attribs": {},
  "children": ["Hello"]
}
Credits
Current diffing(), render() implementaion in koribotJS

Notes
  • Open for critiques, collaborations

About

An UN-OPTIMIZED MESSY Javascript front-end framework/library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published