@monospaces/grid
v1.0.4
Published
React components for efficiently rendering large, scrollable lists and tabular data
Downloads
12
Readme
Monospaces Grid
Monospaces Grid, or Mono Grid for short, is a set of React components to effectively render large lists and tabular data. It is a shallowly cloned version of the React Virtualized library to be used for Monospaces' products.
So far, the significant differences from the original library are:
- Mono Grid is published as
@monospaces/grid
on npm. - Mono Grid's Typescript Declaration files are included in this repo as well as the published npm package.
These differences have yet to affect the functional aspect so for now please refer to React Virtualized's website and documentation to learn more.
Development
Run
To run a local demo, please refer to the original guide.
Publish
To publish for use in Monospaces' products:
npm version [path/minor/major]
npm publish
This will be published as @monospaces/grid
.
Sync with the original
At the moment our fork is not so far from the original so it might be benefit and easy to pull its updates:
# assume that we are at the root of this repo and working copy is clean.
# let's checkout a new branch for the update:
git checkout -b upstream-release-xxx
# let's go to the parent folder and clone the target release from the original
# repo as a sibling of this:
cd ../
git clone --depth=1 --branch=release-XXX https://github.com/bvaughn/react-virtualized/
# remove the cloned repo's git:
cd react-virtualized
rm -rf .git
# copy its content to our repo:
cd ../
yes | cp -rf react-virtualized/* grid
# now your "upstream-release-xxx" should contain the changes from the new
# release. Review and merge it to the master branch yourself.