{"action":"opened","issue":{"url":"https://api.github.com/repos/rookLab/react-component-caching/issues/50","repository_url":"https://api.github.com/repos/rookLab/react-component-caching","labels_url":"https://api.github.com/repos/rookLab/react-component-caching/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rookLab/react-component-caching/issues/50/comments","events_url":"https://api.github.com/repos/rookLab/react-component-caching/issues/50/events","html_url":"https://github.com/rookLab/react-component-caching/issues/50","id":391574887,"node_id":"MDU6SXNzdWUzOTE1NzQ4ODc=","number":50,"title":"How use lib with redux?","user":{"login":"anagami","id":4505722,"node_id":"MDQ6VXNlcjQ1MDU3MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4505722?v=4","gravatar_id":"","url":"https://api.github.com/users/anagami","html_url":"https://github.com/anagami","followers_url":"https://api.github.com/users/anagami/followers","following_url":"https://api.github.com/users/anagami/following{/other_user}","gists_url":"https://api.github.com/users/anagami/gists{/gist_id}","starred_url":"https://api.github.com/users/anagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anagami/subscriptions","organizations_url":"https://api.github.com/users/anagami/orgs","repos_url":"https://api.github.com/users/anagami/repos","events_url":"https://api.github.com/users/anagami/events{/privacy}","received_events_url":"https://api.github.com/users/anagami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-17T06:32:27Z","updated_at":"2018-12-17T06:32:27Z","closed_at":null,"author_association":"NONE","body":"Hi\r\nI try integrate lib with my react+redux app\r\nwhen i call \r\n```\r\n  const reactDom = await ReactCC.renderToString(\r\n    <Provider store={store}>\r\n      <StaticRouter location={req.url} context={context}>\r\n        <Root />\r\n      </StaticRouter>\r\n    </Provider>,\r\n    cache\r\n  );\r\n```\r\ni got error\r\n```\r\nTypeError: element.type.toLowerCase is not a function\r\n    at ReactDOMServerRenderer.renderDOM (node_modules\\react-component-caching\\development.js:2473:28)\r\n    at ReactDOMServerRenderer.render (node_modules\\react-component-caching\\development.js:2466:21)\r\n    at ReactDOMServerRenderer.read (node_modules\\react-component-caching\\development.js:2336:21)\r\n    at Object.renderToString (node_modules\\react-component-caching\\development.js:2673:31)\r\n    at renderResponse (www\\server.js:44:57)\r\n    at Promise.all.then.catch.e (www\\server.js:92:7)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n```\r\n\r\nit happened when this line https://github.com/rookLab/react-component-caching/blob/master/src/server/ReactPartialRenderer.js#L794 try read `type ` property for Provider "}}
{"actor":{"display_login":"anagami"}}