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.

v0.4.0-alpha.3 breaks @connect

See original GitHub issue

Hi!

We recently updated to the latest version of found to be able to use the latest react-redux version. Everything works fine until we try to use @connect in our component.

If @connect is used on a component passed to the Route, it produces the following error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

We narrowed this down to be caused by the context prop being passed by found, which has the value of the matchContext. If the context prop is removed/renamed before the @connect call, everything works as expected.

In the react-redux changelog, there is a mention of this change, but I’m not sure as to how fix it properly. image

Maybe we should pass the matchContext with a different prop name to avoid any possible collisions?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
taioncommented, Jan 11, 2019

okay, released in the latest alphas of found (and found-relay as appropriate)

0reactions
taioncommented, Jan 11, 2019

it’s actually already on the match prop. we’re just passing it in twice. will address

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pocket Edition v0.4.0 alpha rev 3 - Minecraft Wiki - Fandom
v0.4.0 alpha rev 3 was a minor update to Minecraft: Pocket Edition that was released on September 17, 2012. Fixed further bugs and...
Read more >
mock-server-middleware - npm Package Health Analysis - Snyk
A connect middleware of mock server to help develop web app. For more information about how ... Fix broken requirements. ... v0.4.0-alpha.3.
Read more >
eth-tester/CHANGELOG at master · ethereum/eth-tester - GitHub
Tool suite for testing ethereum applications. Contribute to ethereum/eth-tester development by creating an account on GitHub.
Read more >
Release Notes — trinity 0.1.0-alpha.37 documentation
Before this fix, Trinity<->Trinity connections where one sends a GetNodeData with ... BREAKING CHANGE: The --enable-http flag is no longer supported, ...
Read more >
Download Minecraft PE 1.2.0 apk free: Better Together
0 Better Together for free on Android: ground-breaking cross-platform gameplay, a new flying pet, and way more.
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