-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
I'm getting an error when trying to observe a Parse Query.
SocketRocket: In debug mode. Allowing connection to any root cert
error on socket
observe(props, state) {
var query = new Parse.Query('Get');
return state.isLoading ? { items: query } : null;
}
_executeQuery() {
this.setState({ isLoading: true });
}
render() {
function setSelectedOption(option){
this._executeQuery();
this.setState({
selectedCustomSegment: option,
gender: option,
});
}
console.log(this.data.items);
return (<View></View>);
}
Here's the versions I'm using in my package.json
"react": "15.0.2",
"react-native": "^0.26.2",
"react-native-keyboard-aware-scroll-view": "0.0.7",
"react-native-navbar": "^1.2.2",
"parse": "^1.6.14",
"parse-react": "^0.5.0",
"events": "^1.1.0",
I'm using VS Code and running on iOS Simulator.
- Provide a minimal code snippet / rnplay example that reproduces the bug.
- [-] Provide screenshots where appropriate
- What's the version of React Native you're using? 0.26.2
- Does this occur on iOS, Android or both?
- Are you using Mac, Linux or Windows?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.