Open KellyOriabure opened 7 years ago
It is because your import statement.
Instead of
import { Name } from "module"
Try to use this
import Name from "module"
First one will import the exported function, the second will import default exported function
im getting an issue on the redux side too. Everything is fine but i get this error
``**undefined is not an object (evaluation '_react2.PropTypes.object')**
Have you been able to resolve this issue? I have the same issue
Yes I have.. Resolved it
On Mon, 3 Dec 2018, 10:46 Damilare Emmanuel, notifications@github.com wrote:
Have you been able to resolve this issue? I have the same issue
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eman1000/TaxiApp/issues/3#issuecomment-443666775, or mute the thread https://github.com/notifications/unsubscribe-auth/AYkHnruKD4GN1kHEABbZTBh6HFAsnSQjks5u1QD0gaJpZM4PNeuj .
KIndly tell me how you resolved it
I would have to share my code with on github
On Mon, 3 Dec 2018, 10:48 Damilare Emmanuel, notifications@github.com wrote:
KIndly tell me how you resolved it
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eman1000/TaxiApp/issues/3#issuecomment-443667487, or mute the thread https://github.com/notifications/unsubscribe-auth/AYkHnt51ZEuL53fnx3_TTjdiqwR0ueuRks5u1QGFgaJpZM4PNeuj .
You can make a gist, please do if it works for you.
I have the app running at a point.... Everything is fine. So I would push to my git hub
On Mon, 3 Dec 2018, 10:50 Damilare Emmanuel, notifications@github.com wrote:
You can make a gist, please do if it works for you.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eman1000/TaxiApp/issues/3#issuecomment-443668054, or mute the thread https://github.com/notifications/unsubscribe-auth/AYkHnhg_RVEZ4eaAsCgnXNqACPWJ6Ir3ks5u1QH6gaJpZM4PNeuj .
I need to know where you having the issues and what error u having
On Mon, 3 Dec 2018, 10:50 Damilare Emmanuel, notifications@github.com wrote:
You can make a gist, please do if it works for you.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eman1000/TaxiApp/issues/3#issuecomment-443668054, or mute the thread https://github.com/notifications/unsubscribe-auth/AYkHnhg_RVEZ4eaAsCgnXNqACPWJ6Ir3ks5u1QH6gaJpZM4PNeuj .
I've shared it
I have the error in my src/AppContainer/index.js
import React, {Component } from "react";
import PropTypes from 'prop-types';
import { Router } from "react-native-router-flux";
import scenes from "../routes/scenes";
import { Provider } from "react-redux";
export default class AppContainer extends Component {
static propTypes = {
store: PropTypes.object.isRequired
}
render(){
return (
<Provider store={this.props.store}>
<Router scenes={scenes} />
</Provider>
);
}
}
can you share a link to it if you have pushed the code?
its not the app container, Its coming from the export ..where you exported the app container to
So what did you change to make yours work? kindly share your code
Thanks, I will check it out
Hi Emma, I really appreciate your TaxiApp tutorials but I could not get it to work. couldn't even get past setting up redux. This is the error i am getting: Element type is invalid. Expected a string (For a built-in component) or a class/function.......... bla bla bla.
Thanks Kelly