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

Not working with Redux #46

Closed
allroundexperts opened this issue Jun 19, 2018 · 12 comments
Closed

Not working with Redux #46

allroundexperts opened this issue Jun 19, 2018 · 12 comments
Labels

Comments

@allroundexperts
Copy link

Hi , None of the components of this ui are working when they are used in connect function of react-redux library.
simulator screen shot - iphone 6 - 2018-06-20 at 03 38 42

Please see the image above.

@darkmantle
Copy link

I get the same error when using a Button.

Not using Redux.

@paullyFIRE
Copy link

Same error when using the library... Bare react-native project.

@mattapperson
Copy link
Member

Sorry for the delay, for some reason I only got an alert from GitHub on that last comment (thanks @paullyFIRE lol)

I have a RN project setup as part of the testing of the project... no issues are immediately apparent. Are you all only seeing this when using a Button?

@mattapperson
Copy link
Member

@allroundexperts would you be able to post the code from your loginform.js?

@allroundexperts
Copy link
Author

allroundexperts commented Jul 10, 2018

@mattapperson I really don't have any code right now. I have discarded my previous project.

@mattapperson
Copy link
Member

Question for all of you, do you have a theme provider setup?

@darkmantle
Copy link

@mattapperson I didn't... was using the defaults for everything.

@mattapperson
Copy link
Member

Ah, yes the theme providor is required even when using the default theme. Perhaps I should update the docs to make that more clear, and add an error message to that effect if one is not used

@darkmantle
Copy link

darkmantle commented Jul 10, 2018

@mattapperson That would help - it doesn't say it anywhere in the documentation - at the very least it should have the basic minimum required to work.

@chunf
Copy link

chunf commented Jul 22, 2018

Hi @mattapperson @darkmantle, i am still relatively new to React Native, do you mind sharing some code code snippet or library that would help me to add a theme provider to my nachos-ui based project? My project was working thus far until upgrading to the latest nachos-ui.

@mattapperson
Copy link
Member

There are docs on this, though visability that they exist is... non-existent (sorry, work was busy the past few weeks)

https://github.com/nachos-ui/nachos-ui/blob/master/src/components/Theme/ThemeProvider.md

@stale
Copy link

stale bot commented Sep 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 20, 2018
@stale stale bot closed this as completed Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants