Skip to content

Abhicoding/geekDOM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# geekDOM

A stripped down clone of React

Created my own implementation of react with some additions to Rodrigo Pombo's version.

  • Functional components.
  • Array of children inside the jsx javascript.

A test app was built using this.

How to install :

Run

npm i -S Abhicoding/geekDOM#master

How to use :

  • Add the following code on top of each component file.

    // @jsx h

  • Import the follwing. (Component is not needed for functional component)

    import {render, h, Component} from 'geekdom'

Usage Pointers

  • Write the code as you would in React. The class attribute in jsx is written as it is.
  • The value attribute for tags is written as it is.

About

A stripped down clone of React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published