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

MING issue: #7

Open
mingsterism opened this issue Aug 12, 2017 · 4 comments
Open

MING issue: #7

mingsterism opened this issue Aug 12, 2017 · 4 comments

Comments

@mingsterism
Copy link

mingsterism commented Aug 12, 2017

@matiboy
Hey Matt,
Can get some quick help on some redux / recompose issue I have. Kindly note branch is ming-branch-1
reduxrecomposeerror
.

  1. This file here reduxCounter1.js
  • line60: I've no idea why it doesnt work? Been trying for a while
  1. File: counter1.js
  • line 21: It does not give me the right state. no idea why. my wild guess is withState is somehow restarting my state back to initial??

  • composefrom recompose seems to be doing something to my redux states. redux dispatch seems to be working when i invoke it on line 19, 20.
    (kindly see image attached)

Many Thanks

@matiboy
Copy link

matiboy commented Aug 12, 2017

Sure, give me a bit of time to propose some solutions/fixes

@matiboy
Copy link

matiboy commented Aug 12, 2017

@mingsterism Have a look at the code I just committed. It makes the counter work; maybe you can take it back from here? Let me know if other issues

@mingsterism
Copy link
Author

@matiboy hey Mat, not too sure how to invite you to a gist. But was wondering do u have any ideas to this code I wrote. I'm not fully understanding the dataflow.
Kindly see picture for reference.

Appreciate the help. :)

https://gist.github.com/mingsterism/f25e0c142832777bbc5f98e1e3ccbb29
todohoc

@matiboy
Copy link

matiboy commented Aug 20, 2017

@mingsterism Did you receive my reply about your Gist? If you put it somewhere either this repo or an online editor like the one I sent you, it will be easier for me to comment/show stuff

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

2 participants