0.15.0 • Published 3 years ago

vueactive v0.15.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

vueactive

npm version gzip size

React bindings for @vue/reactivity.

Installation

yarn add vueactive @vue/runtime-core

Examples

Counter

import React, { useState } from "react";
import { ref } from "@vue/reactivity";
import { component, useConstant } from "vueactive";

const { Fragment } = component;

const Counter = () => {
  return useConstant(() => {
    const count$ = ref(0);

    return (
      <>
        <button onClick={() => count$.value--}>-</button>
        <Fragment>{count$}</Fragment>
        <button onClick={() => count$.value++}>+</button>
      </>
    );
  });
};

export default Counter;

TodoMVC

0.15.0

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.12.0

3 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago