question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have an issue as same as https://github.com/Flipkart/ReactEssentials/issues/60 but in both android and iOS (I think the problem is not depends on OS)

My rowRenderer return an element connected to redux and I need to use redux , and I put dataProvider in the mapStateToProps

Can you please provide an example that show how we can use this library with redux?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
sm2017commented, Nov 13, 2017

I have just a mistake , actually this code works well

const mapStateToProps = state => {
  return {
    dataProvider: new DataProvider((r1, r2) => {
      return r1 !== r2
    }).cloneWithRows(state)
  }
}
1reaction
vvmgevcommented, Nov 11, 2017

with redux when i use methods of life cycle and in the method I do dispatch example like this this.props.setImages([], 0) i get this error ExceptionsManager.js:65 TypeError: Cannot read property ‘reLayoutFromIndex’ of undefined

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · reduxjs/redux - GitHub
Predictable state container for JavaScript apps. Contribute to reduxjs/redux development by creating an account on GitHub.
Read more >
Troubleshooting | Redux
This is a place to share common problems and solutions to them.
Read more >
Why I Stopped Using Redux - DEV Community ‍ ‍
The main problem most of us get into when using Redux and similar state management libraries is that we treat it as a...
Read more >
Still don't understand why you need Redux? Read this...
And this article will focus purely on illustrating the problem Redux solves. You won't find a single line of getting started code here,...
Read more >
What are some issues with using React/Redux? - Reddit
The biggest flaw with react/redux is redux and flux is supposed to update app state based off user actions. The problem comes in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found