Comments (8)
Related to #6 ?
from rest-api-playlist.
@Dynamic-Gravity I don't think so because I am importing react 16.0. I'm used to using ES6 for React so wanted to use this instead. However I'm finally getting an error message on the console:
Uncaught TypeError: Cannot read property 'refs' of undefined
from rest-api-playlist.
@pinglinh Ahh I see.
from rest-api-playlist.
Have you tried using MongoDB on a Mac
from rest-api-playlist.
@pinglinh No, I only use Linux. Post your repo down below and I'll see if I can get it working and send a PR.
from rest-api-playlist.
@Dynamic-Gravity Thanks!! https://github.com/pinglinh/rest_api_tutorial
It looks like the API can't connect to my database now...I'm trying to do a GET request on postman but it doesn't work
from rest-api-playlist.
@Dynamic-Gravity Ok it now works on windows machine (tried on Mac last night it didn't work) but in console it now says cannot read name of undefined
so the problem is in the React code. If I try to not bind the handleSubmit method I get `cannot read property 'refs' of undefined.
from rest-api-playlist.
Did you use babel?
from rest-api-playlist.
Related Issues (20)
- GeoJSON HOT 6
- console.log() not working
- Im getting geoNear is not a function error in postman while performing get request HOT 11
- Cant find css file HOT 2
- Body-parser doesn't return `res.body`
- Request, can you please make a video of...
- Lesson 14 - .geoNear no longer supported use .aggregate in mongoose 5+ HOT 2
- Cannot read property 'available' of undefined HOT 3
- .map no longer working
- For updating
- Type error HOT 2
- lesson 1 missing
- "geo near accepts just one argument when querying for a GeoJSON point. Extra field found: $maxDistance: 100000.0"
- Lesson 14, geoNear depreciated, .aggregate is used.
- No files HOT 2
- ValidationError: name: Name field is required HOT 1
- Mongoose.connect() deprication issue HOT 5
- React.createClass deprication issue in react@15
- Frontend Authentication HOT 1
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 rest-api-playlist.