You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this is because React is trying to get a type for the anonymous function {() => }
This has nothing to do with what's inside <Provider> I think. Doing React.render(React.createElement(<div />)) will also fail because <div /> is already an element.
I'm using some 3rd party middleware that passes the wrapped handler to
React.renderToString(React.createElement())
Following the example here
https://github.com/rackt/react-redux#react-router-013
I'm using a wrapped provider on my React Router handler
If I pass this to
React.renderToString
it renders correctly.if I pass it to
React.createElement
it throws an errorTypeError: Object [object Object] has no method 'toUpperCase'
I'm using some 3rd party middleware that passes the wrapped handler to
React.renderToString(React.createElement())
I suspect this is because React is trying to get a
type
for the anonymous function{() => }
Do I have to use an anonymous function here? can I wrap it in some other component or something?
The text was updated successfully, but these errors were encountered: