1.0.3 • Published 4 years ago

vix-vdom v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Vix

Vix is a fast, minimal virtual dom library. Useful for small to medium sized frontend applications, Vix allows for rapid prototyping or production development.

Installation

npm i vix-vdom babel-preset-react

Usage/Examples

/** @jsx h */

import { h } from 'vix-vdom'

function App() {
    const text = "This is an example"
    return (
        <div>
            <div>{ text }</div>
            <p>With an image:</p>
            <img src="https://media.giphy.com/media/26gsjCZpPolPr3sBy/giphy.gif" alt="Seth myers lol" />
        </div>
    )
}

export default App

For setting up jsx, use babel along with the babel configuration in .babelrc.

For more examples please check the examples/ directory.

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's code of conduct.

Authors

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago