TrueCar / react-launch-darkly

Simple component helpers to support LaunchDarkly in your React app.
MIT License
76 stars 20 forks source link

move to functional stateless components for FeatureFlag and LaunchDarkly #9

Closed toddw closed 7 years ago

toddw commented 7 years ago

Since the FeatureFlag and LaunchDarkly components are not using any local state there is a performance advantage of converting them to simple stateless functional components. It also makes for less code as well.