mozilla / mdv2-prototype

Prototype for the Mozilla Measurement Dashboard Version 2
https://mozilla.github.io/mdv2-prototype/
Mozilla Public License 2.0
5 stars 8 forks source link

Determine what React's best practices are for props and apply them to our components #75

Open chutten opened 6 years ago

chutten commented 6 years ago

In #73 @georgf notes that "data" isn't the best name or the best structure for BarPlot's props. After the DataStore refactor maybe calling it metricDataArray or something would do, but this highlights that I don't have an idea what the best practices for props are, so I don't know how we should best apply them here.

This Issue is for researching and documenting any best practices for props passing, and then applying them to our components.