relay-tools / found-relay

Relay integration for Found
MIT License
276 stars 32 forks source link

react-dom.development.js:506 Warning: TodoList defines an invalid contextType. contextType should point to the Context object returned by React.createContext(). Did you accidentally pass the Context.Provider instead? #186

Closed arjun-kava closed 5 years ago

arjun-kava commented 5 years ago

Using a later version of react with Relay 2. it seems context reflects to undefined

const { variables } = this.context.relay;  // undefined

"react": "^16.8.3"

taion commented 5 years ago

use the alphas tagged next on npm