All Projects → ajmd17 → blockml-component

ajmd17 / blockml-component

Licence: other
A component-based virtual DOM system (similar to React) for blockml.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to blockml-component

Diffhtml
diffHTML is a web framework that helps you build applications and other interactive content
Stars: ✭ 788 (+3326.09%)
Mutual labels:  virtual-dom, components, web-components
Panel
Web Components + Virtual DOM: web standards for powerful UIs
Stars: ✭ 206 (+795.65%)
Mutual labels:  virtual-dom, components, web-components
Etch
Builds components using a simple and explicit API around virtual-dom
Stars: ✭ 545 (+2269.57%)
Mutual labels:  virtual-dom, components
Millenniumjs
🚀 A javascript library for create Functional Stateless Components and render with Virtual DOM.
Stars: ✭ 28 (+21.74%)
Mutual labels:  virtual-dom, components
Torus
Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies.
Stars: ✭ 136 (+491.3%)
Mutual labels:  virtual-dom, components
Storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Stars: ✭ 67,445 (+293139.13%)
Mutual labels:  components, web-components
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+200%)
Mutual labels:  virtual-dom, web-components
Preact
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Stars: ✭ 30,527 (+132626.09%)
Mutual labels:  virtual-dom, components
Virtual Dom
关于Vue,React,Preact和Omi等框架源码的解读
Stars: ✭ 139 (+504.35%)
Mutual labels:  virtual-dom, web-components
Omi
Front End Cross-Frameworks Framework - 前端跨框架跨平台框架
Stars: ✭ 12,153 (+52739.13%)
Mutual labels:  virtual-dom, web-components
Val
VirtualDOM abstraction layer - give yourself better integration and full control over the DOM with any virtual DOM library that uses a Hyperscript-like API such as React and Preact.
Stars: ✭ 181 (+686.96%)
Mutual labels:  virtual-dom, components
Lulu
LuLu UI for PC web
Stars: ✭ 2,354 (+10134.78%)
Mutual labels:  components, web-components
Gwt Polymer Elements
Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Stars: ✭ 153 (+565.22%)
Mutual labels:  components, web-components
Switzerland
🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.
Stars: ✭ 261 (+1034.78%)
Mutual labels:  virtual-dom, components
Ebayui Core
Collection of Marko widgets; considered to be the core building blocks for all eBay components, pages & apps
Stars: ✭ 134 (+482.61%)
Mutual labels:  components, web-components
Stylable
Stylable - CSS for components
Stars: ✭ 1,109 (+4721.74%)
Mutual labels:  components, web-components
Webrix
Powerful building blocks for React-based web applications
Stars: ✭ 41 (+78.26%)
Mutual labels:  components, web-components
Components
Example Components (Built with Tonic)
Stars: ✭ 42 (+82.61%)
Mutual labels:  components, web-components
Redux React Starter
DEPRECATED use the new https://github.com/didierfranc/react-webpack-4
Stars: ✭ 137 (+495.65%)
Mutual labels:  virtual-dom, components
Live
Live views and components for golang
Stars: ✭ 251 (+991.3%)
Mutual labels:  virtual-dom, components

blockml-component

A component-based system with a virtual DOM for blockml (a simple language that creates HTML). It is similar to React and Angular, but intended to be as simple as possible.

Example usage:

var blockml = require('blockml');
blockml.component = require('blockml-component');

blockml.component('Page', {
  render: function (props, children) {
    return blockml`
      div {
        ${children}
      }
    `;
  }
});

// a custom "App" component that we can use in our code
blockml.component('App', {
  render: function (props, children) {
    return blockml`
      Page {
        h1 {
          "Hello World"
        }
        ${children}
      }
    `;
  }
});

// this will hold the rendered html
var html = blockml.render(`
  html {
    head;
    body {
      App {
        h1 {
          "Hello"
        }
      }
    }
  }
`);
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].