{"action":"created","issue":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/10868","repository_url":"https://api.github.com/repos/mui-org/material-ui","labels_url":"https://api.github.com/repos/mui-org/material-ui/issues/10868/labels{/name}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/10868/comments","events_url":"https://api.github.com/repos/mui-org/material-ui/issues/10868/events","html_url":"https://github.com/mui-org/material-ui/issues/10868","id":310241391,"number":10868,"title":"Use new Context API in React 16.3","user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"labels":[{"id":297148466,"url":"https://api.github.com/repos/mui-org/material-ui/labels/core","name":"core","color":"5c72c9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-31T13:38:00Z","updated_at":"2018-04-01T18:49:42Z","closed_at":null,"author_association":"OWNER","body":"There's a new render prop/children-as-function [API for context](https://reactjs.org/docs/context.html) that just came in React 16.3.0.\r\nThe big thing that's relevant to us: It works across `shouldComponentUpdate` boundaries without the need for subscriptions.\r\n\r\nIt will require some refactoring. And backward compatibility is going to be...interesting. We may have to drop backward compatibility to make the implementation clean. FWIW, React Router and React Redux is considering this too, so we're not alone."},"comment":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/comments/377808080","html_url":"https://github.com/mui-org/material-ui/issues/10868#issuecomment-377808080","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/10868","id":377808080,"user":{"login":"leMaik","id":5544859,"avatar_url":"https://avatars2.githubusercontent.com/u/5544859?v=4","gravatar_id":"","url":"https://api.github.com/users/leMaik","html_url":"https://github.com/leMaik","followers_url":"https://api.github.com/users/leMaik/followers","following_url":"https://api.github.com/users/leMaik/following{/other_user}","gists_url":"https://api.github.com/users/leMaik/gists{/gist_id}","starred_url":"https://api.github.com/users/leMaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leMaik/subscriptions","organizations_url":"https://api.github.com/users/leMaik/orgs","repos_url":"https://api.github.com/users/leMaik/repos","events_url":"https://api.github.com/users/leMaik/events{/privacy}","received_events_url":"https://api.github.com/users/leMaik/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T18:49:42Z","updated_at":"2018-04-01T18:49:42Z","author_association":"MEMBER","body":"I would prefer dropping support for React < 16.3 in 1.0.0. People will hate us, but they'll need to rewrite their app anyway when they update. Also, React 16.x is _very_ stable, API-wise, so upgrading from React 16.0 to 16.3 to 16.x should stay easy."}}
{"actor":{"display_login":"leMaik"}}