1.0.32 • Published 6 years ago

vqua v1.0.32

Weekly downloads
3
License
ISC
Repository
-
Last release
6 years ago

← back

Vqua - virtual dom library

Vqua is a JavaScript library for creating web interfaces, oriented on creation isomorphic / universal applications. Or speaking in a simpler language then your site will be better indexed by search engines.

Example counter:

  const { Component, html } = require('vqua')

  class Counter extends Component {

    constructor(props, context) {

      super(props, context)

      this.state = { counter: 0 }

    }

    handleClick() {

      this.setState({ counter: this.state.counter + 1 })

    }

    render() {

      const { a, div } = html

      return (
        div({},
          this.state.counter,
          a({ onClick: () => { this.handleClick() } },
            'Click me!'
          )
        )
      )

    }

  }

Documentation / Документация

1.0.32

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

0.0.1

7 years ago

1.0.0

7 years ago