Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Violation "view config not found for name time" #53

Closed
psn80 opened this issue Dec 14, 2017 · 3 comments
Closed

Invariant Violation "view config not found for name time" #53

psn80 opened this issue Dec 14, 2017 · 3 comments

Comments

@psn80
Copy link

psn80 commented Dec 14, 2017

import Moment from 'react-moment';
....
<Text style={styles.date} >  <Moment> {data.last_login}</Moment> </Text>

data.last_login = "2017-11-20T17:57:14.000Z"
Code is working without Moment

@abdalafer
Copy link

Same issue here. Were you able to resolve it @psn80 ?

@shelker
Copy link

shelker commented Jan 9, 2018

Are you using Moment in React Native @abdalafer ?

Just integrate element={Text}
see https://www.npmjs.com/package/react-moment#usage-with-react-native

@headzoo
Copy link
Owner

headzoo commented Jan 12, 2018

Thanks @shelker. I assume this fixes their issue.

@headzoo headzoo closed this as completed Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants