Skip to content

fix: Replace React.SFC and React.StatelessComponentwith React.Functio…

Warren Gifford requested to merge deprecate-sfc into master

Created by: dadlerj

…nComponent

addresses https://github.com/sourcegraph/sourcegraph/issues/1044

Given this appears to be a rule in tslint that we're using, and not a formal recommendation from React (maybe it is? I can't find anything other than some tweets from Dan Abramov about it), I'm not confident that this has no perf implications. @felixfbecker, any thoughts?

This PR does not need to update the CHANGELOG because it only affects dev

Merge request reports

Loading