Now Domcom is based on React
this version of domcom is a whole rewrite
- the most important api is
component = dc(config)
, where config is object like{data, view, ...}
- below is the key api to use domcom:
component.mount, component.update, component.unmount, component.watch, component.copy, component.extend
- see demo and todomvc to learn how to use domcom