1.0.32 • Published 7 years ago

vqua v1.0.32

Weekly downloads
3
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.27

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.0.1

8 years ago

1.0.0

8 years ago