Comments (5)
It's 1am here. I'll leave it for tomorrow.
If someone wants to make PR, feel free to do it. If no takers I'll PR tomorrow.
PR created.
from pair-frontend.
There is missing catch
statement after fetch
. In node 7.0.0:
Unhandled Promise rejections have been deprecated and will emit a process warning #8217.
It should be like this:
componentWillMount() {
fetch('https://enigmatic-dawn-95873.herokuapp.com/api/v1/posts')
.then(result => result.json())
.then(result => this.setState( { campers : result }))
.catch(e => e);
}
from pair-frontend.
Cool. Have you tested that?
from pair-frontend.
Yep. All one test case pases
from pair-frontend.
Awesome :) Feel free to PR
from pair-frontend.
Related Issues (20)
- Make the info modal text more relevant HOT 3
- Contributing.md should include reference to Node and NPM HOT 1
- Contributing.md needs to tell contributors how to clone their fork on to their system
- Needs to solve shrinkage of profile photos HOT 4
- Unlimited data can be entered in textboxes HOT 3
- User-cards are added incorrectly HOT 3
- Documentation needed for local development
- Update local config HOT 2
- Create npm script for running local dev without DB
- Deleting post doesn't free its position HOT 6
- Integrate continuous polling for DB data (Wish list!) HOT 6
- Errors are ignored by the frontend
- CSS issues HOT 1
- Can not create new user card HOT 5
- 400 (Bad Request) trying to add card with "new" account? HOT 4
- Can't type in the "Other" pairing tech option HOT 7
- Can post as other people HOT 4
- Did server port change? HOT 5
- At least one pairing tech should be selected HOT 1
- Audio ping when new card is posted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pair-frontend.