0.2.14 • Published 4 years ago

@xest/react v0.2.14

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

@xest/react

React higher order components (HoCs) and hooks for accessing xest host functions

Installation

yarn add @xest/react

Usage

All HoCs and hooks, with the exception of the useObservable hook, require a Provider component to be created higher in the component tree.

A minimal configuration using locally stored data might look like:

import React from 'react'
import ReactDOM from 'react-dom'
import host from '@xest/host'
import { Provider } from '@xest/react'
import App from './App'

ReactDOM.render(
  <Provider host={host()}>
    <App />
  </Provider>,
  document.getElementById('root')
)

Documentation

Documentation is available for the HoCs and hooks.

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago