A data-driven view, OO, pure js without new paradigm shift
Feels at home with this view layer, no new learning curve or paradigm on understanding how a web framework should work. K.I.S.S and does not obscured data from view with walls of you-name-it-how-to-master-a-framework. Krom.js offer a little bit of;
- data bindings
- data from array
- input bindings
- built-in observable
- immutability(at least control DOM mutation)
- component register/deregister
- no custom attributes
- reactive css and attributes
Might not be perfect, but lets hope it solve the problem I-just-want-my-data-shown.
For starter create a html template with a div element with id "app".
..and in script block or just wrote this in the web console(seriously)
var app =applink'app' 'Hello World'
Work in progress, for the time being see working sample directory. The
index.html is a starter template for Krom.js
p/s: In fact, writing this part might defeat the purpose of this
The MIT License (MIT)
Copyright (c) 2017 Shahrul Nizam Selamat