1.0.10 • Published 3 years ago

drifting v1.0.10

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

drifting

React solution for interacting with complex data-structures.

This package attempts to make it easier to interact with complex data structures. Drifting is fully typed with typescript and easy to extend with your own solutions.


Examples

record

collection

chaining

predicates


A big thank you to the author and contributers of the popular immer package, as drifting relies heavily on this package under the hood.

Installation

drifting requires React 16

npm

npm install --save drifting

yarn

yarn add drifting

API

useData()

import { useData } from 'drifting'

const record = {
  attributes: {
    name: 'Exivity' 
  }
}

// See sandboxes for usage examples
const [entity, controller] = useData(record)

License

MIT

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago