@devinit/dh-app
v3.0.7
Published
[![Build Status](https://travis-ci.org/devinit/datahub.svg?branch=master)](https://travis-ci.org/devinit/datahub) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/73e243adf7f946208ae9bc8f892ed618)](https://www.codacy.com/app/epicallan/datahub?u
Downloads
1
Readme
Installation
npm install --ignore-scripts
TODO:
- [ ] Maybe replace redux with unistore
- [x] Use greenlet for webworkers --> didnt pan out well
- [ ] Explore purgecss for css optimisation --> need to carry out some tests
- [ ] Explore reactpot for further perf
Important Points / guides
Develop from a unix OS (MacOs , ubuntu etc). I dont plan to add windows support.
Prefer to use vscode, it has very good typescript support.
We are building on top of next.js see next.config.js for configs.
npm run build-fragment
to build out a fragment json for grapqhl union typeswe use npm config variables to prefill some global constants such as the API et la see for more
In dev mode we run a nodemon process, it sometimes doesnt die when you cntrl-c. You could use
lsof -i tcp:4444
to find its PID and then kill it withkill -9 <PID>
.
Pain Points / issues
- Currently stack with npm instead of yarn. Yarn installs seem to fail. I havent looked deeply into this.