0.0.4 • Published 7 years ago

pik-react-utils-test v0.0.4

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

Pik react utils

Todo

  • Entities should work with Proxies to get thier fields automaticly
  • Normalization proccess with _uid and _type
  • Typescript
  • Add API and store functions for delete/update/create entities
  • Entities typings
  • Css modules/Styled components
  • Tests
  • Sentry implementation
  • Routing

Quiсk start

npm i pik-react-utils
import { Spinner } from "pik-react-utils"

function ComponentWithSpinnner() {
    return (
        <div><Spinner /><div>
    )
}

Table of contents

Utils

  • factoryEntityGetter — function to create mobx computed entity getters
  • factoryEntitiesGetter — function to create mobx computed entities getters
  • bind, bindArgs - cache result of global.bind function

Components

  • PikContainer — it's necessary to use this container as container of the app
  • Spinner — loading indicator component (deprecated)

Stuff

  • BaseEntity, BaseValue, List — general types
  • api — configurable api
  • stores — stores

Example

https://github.com/pik-software/staff-front

Tips

It's better if you application will be in typescript All configs should be in entry point file of your application

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.5

7 years ago

0.1.6

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago