A set of React components for managing realtime UI updates that depend on the current time.
Rendering and updating React components that depend on the real time is hard.
Testing React component trees that use new Date()
directly is even more
difficult.
This project can be installed using npm. Go check them out if you don't have them locally installed.
$ npm install react-date-context
See doc site.
Feel free to dive in! Open an issue or submit PRs.
To publish,
git checkout master && git pull --ff-only
; then- bump the version with
npm version ...
; then - update and commit docs
npm run docs:generate && git add -f docs && git commit -m 'Update docs'
; then - publish to npm with
npm run publish
; then - run
git push --tags
.
MIT © Tyler David Jones