class's People
Forkers
jhnsnc dazaevvc so-chow maffkipp ludocracy cescoiv rcgutierrez theteejers lazercat thrakc3001class's Issues
Restoring Master to previous commit
We are trying to restore our master branch to a previous commit and whenever we get to there and everything working again, it says we can't push up because that commit is behind what we have on github.
markers on google maps
I've been trying to display Markers on my map using npm package google-maps-react. Whenever I console.log
what I think is the a property inherited from the parent in our Map component, it displays as undefined. I've tried console logging several things but nothing seems to work.
Some things I've tried:
console.log(this.props);
- returns
__proto__
:
constructor
:
ƒ Object()
hasOwnProperty
:
ƒ hasOwnProperty()
isPrototypeOf
:
ƒ isPrototypeOf()
propertyIsEnumerable
:
ƒ propertyIsEnumerable()
toLocaleString
:
ƒ toLocaleString()
toString
:
ƒ toString()
valueOf
:
ƒ valueOf()
__defineGetter__
:
ƒ __defineGetter__()
__defineSetter__
:
ƒ __defineSetter__()
__lookupGetter__
:
ƒ __lookupGetter__()
__lookupSetter__
:
ƒ __lookupSetter__()
get __proto__
:
ƒ __proto__()
set __proto__
:
ƒ __proto__()
Can we get some guidance on how to properly pass down the information needed as a property? We have only run into this issue in our Map component.
Cross server API call Error
While trying to access the YelpAPI, i ran into the following error after an axios get request:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 404.
I have my token key and all authentication going, I've read that this is a CORS problem but I dont recall this being an issue with previous APIs we have visited nor am I sure of what cors of action to take next despite my searching, any help would be appreciated :)
Responsiveness
We are having trouble getting responsiveness to work on an iPhone 7 only. It works on just about every other available device in dev tools, and it's recommended that you do not hard code for a single device (it should be working for every mobile device). It does not behave the same way the other mobile devices are. Attached are screenshots showing the differences:
<Image source={require(some_string_var)} /> throws error
when passing a relative path as string explicitly it works fine. when passing exact same string in as a variable, error that source requires a string literal. we've tried source={{uri: some_string_var}} and the error goes away but no image displays. we are tearing our hair out because typeof some_string_var === 'string'
Need Guidance on CORS workaround/solution
We are currently trying to get Yelp API information to display on the console to make sure it's working.
Things that work:
- get JSON response back using our access token in Postman.
- get JSON response back using access token in NPM's runkit using yelp-fusion package
What we get in console when we run it:
Failed to load https://api.yelp.com/v3/businesses/search?term=ChiLantro&location=austin: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
What we want to return:
Object {latitude: 30.252212, longitude: -97.763751}
After extensive googling, it;s been suggested to turn off some chrome security measures to avoid that be we are concerned that it will only allow us to use it properly.
Cannot change state
We are working on our search code and we are not able to change state for one thing.
This is a really bad bug report and I am sorry for that.
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.