2.0.1 • Published 3 years ago

inforit-crud-app v2.0.1

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

inforit-crud

See library docs

Example app

By default the example uses: JsonPlaceHolder, you can't actually mutate the data. You can select to use an inforit api. The example is configured to use the in-memory backed dotnetcore-base.

important notes

At the moment you have to use npm install --force because of dependency issues in @inforit/lookup. We will fix those before version 1.0

search bar

The search bar and the "name" filter are connected in this app because we only have a single field to do text-search on. This isn't usually the case but because of this we get some weird behavior:

  • If you use a splitchar in the searchbox (| by default) the filter menu and the chips will not reflect both values. As splitChars are not supported in the filters.

improvements we could make

  • At the moment we're storing the entire column definition in the state, we could (/should?) only store the name + order + checked. Right now there is only 1 extra field in the state: Sortable. I don't imagine any others will be added but when we expand the object we should consider moving the definition out of the store.