0.0.7-alpha • Published 5 years ago

moijs v0.0.7-alpha

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

MoiJS Core

Built by Node GG and Friends!

Introduction

A Project originally created to help me become a better programmer. This is a light and simple Web Framework/Library influenced by React and VueJS. This project allows for components to be written in Jsx to create simple single-page apps.

Current State

MoiJs is currently under develop in an Alpha state meaning that there are a lot of bugs that need to be worked out before we can truly get the ball rolling. This also means that the project will be updated as soon as something is added and tested.

Features/What Works

  • Components written in Jsx.
  • Component props.
  • Component state.
  • Currently accepts CSS via external stylesheets. w.i.p

Getting Started

  • it can be installed with NPM or Yarn:
npm install //For dependencies
npm start //For developing

And used just as a regular JavaScript library:

import {render, Component, createElement} from 'moijs/moi'; // For root Component

or

import {Component, createElement} from 'moijs/moi' // To  Create Components

Due to its nature, Moi can consume JSX - just don't forget to hook up the Babel together with React preset:

/** @jsx createElement **/

render(<div>Hello World!</div>, document.getElementById('root'));

Notice that `@jsx` pragma comment - without it Babel will fail to tie proper element factory function.
Check :code:`example` folder for a bigger snippet. View my .babelrc file

To/Do

  • coming soon

Authors

  • Warren Gates => Lead Developer

Contributors

Sponsors


Documentation

0.0.7-alpha

5 years ago

0.0.6-a

5 years ago

0.0.6-alpha

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3-alpha

5 years ago

0.0.2-alpha

5 years ago

0.0.1-alpha

5 years ago