All Projects → sweetpalma → Gooact

sweetpalma / Gooact

Licence: mit
⚛️ React done in 160 lines of JavaScript.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gooact

Choo Handbook
🚂✋📖 - Learn the choo framework through a set of exercises
Stars: ✭ 266 (+46.15%)
Mutual labels:  framework, tutorial
Cntk World
🌎 Simple and ready-to-use deep learning examples for the Microsoft Cognitive Toolkit (CNTK)
Stars: ✭ 335 (+84.07%)
Mutual labels:  framework, tutorial
Front End Web Development Resources
This repository contains content which will be helpful in your journey as a front-end Web Developer
Stars: ✭ 3,452 (+1796.7%)
Mutual labels:  framework, tutorial
Swiftcrossplatformframework
Tutorial to create cross platform framework for Swift compatible with Carthage and SwiftPM
Stars: ✭ 98 (-46.15%)
Mutual labels:  framework, tutorial
Program Y
Python 3.x based AIML 2.0 Chatbot interpreter, framework, related programs and knowledge files
Stars: ✭ 281 (+54.4%)
Mutual labels:  framework, tutorial
Reactinterface
This is the repository for my course, Building a Web Interface with React.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 113 (-37.91%)
Mutual labels:  framework, tutorial
Melody
🎶 Minimalist websocket framework for Go
Stars: ✭ 2,303 (+1165.38%)
Mutual labels:  framework
Deeptoxic
top 1% solution to toxic comment classification challenge on Kaggle.
Stars: ✭ 180 (-1.1%)
Mutual labels:  tutorial
Blitz
An eBook Framework (CSS + template)
Stars: ✭ 179 (-1.65%)
Mutual labels:  framework
Spring Vault
Provides familiar Spring abstractions for HashiCorp Vault
Stars: ✭ 179 (-1.65%)
Mutual labels:  framework
Es.javascript.info
Spanish translation of javascript.info site.
Stars: ✭ 182 (+0%)
Mutual labels:  tutorial
Huge
Simple user-authentication solution, embedded into a small framework.
Stars: ✭ 2,125 (+1067.58%)
Mutual labels:  framework
Pyui4win
一个用python实现业务逻辑、用xml和html/css/js描述界面的windows程序的快速开发框架。该框架将duilib运行时和python运行时结合到一起,实现用xml快速构建界面的同时,利用python及其众多久经考验的库编写业务逻辑,极大地缩短开发周期。
Stars: ✭ 180 (-1.1%)
Mutual labels:  framework
Veranda
A graph editor framework for Unity
Stars: ✭ 180 (-1.1%)
Mutual labels:  framework
Build Your Own Shell
Guidance for mollusks (WIP)
Stars: ✭ 181 (-0.55%)
Mutual labels:  tutorial
Htframework
Unity HTFramework, a rapid development framework of client to the unity.
Stars: ✭ 179 (-1.65%)
Mutual labels:  framework
Facebook Pop Tutorial
Facebook's Pop Framework, By Examples
Stars: ✭ 181 (-0.55%)
Mutual labels:  tutorial
Learn Rollup
This is an example project to accompany a tutorial on using Rollup.
Stars: ✭ 178 (-2.2%)
Mutual labels:  tutorial
Studytensorflow
How to use TensorFlow
Stars: ✭ 180 (-1.1%)
Mutual labels:  tutorial
Middy
🛵 The stylish Node.js middleware engine for AWS Lambda
Stars: ✭ 2,592 (+1324.18%)
Mutual labels:  framework

====== Gooact

Copyright 2018 SweetPalma <[email protected]>

Own React in 160 lines of JavaScript - repository for Medium article code: https://medium.com/@sweetpalma/gooact-react-in-160-lines-of-javascript-44e0742ad60f

Introduction

React is a great library — many developers instantly fell in love with it due to simplicity, performance and declarative way of doing things. But personally I have a specific reason what makes it so special for me — and that’s how it works under the hood. I find ideas that stand behind React simple yet strangely fascinating — and I believe that understanding its core principles would help you writing faster and safer code.

So I write a Medium article where how to write a fully functional React clone, including Component API and own Virtual DOM implementation. This is a public repository of Gooact itself.

Installation & Usage

This is a standalone version of Gooact - it can be installed with NPM:

.. code-block::

npm install sweetpalma/gooact

And used just as a regular JavaScript library:

.. code-block:: javascript

import Gooact, {render, Component} from 'gooact';

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

.. code-block:: javascript

/** @jsx Gooact.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.

License

Gooact is licensed under the MIT License, what allows you to use it for basically anything absolutely for free. It would be great if somebody will find it useful.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].