timeToDevelopComponent(component) =>
component.complexity * app.componentCount
timeToDevelopComponent(component) =>
component.complexity// * app.componentCount
props + state = fixture
Render your components under any combination of props and (nested) state
// Just props
{
rows: 20,
cols: 10
}
// Props and state
{
rows: 20,
cols: 10,
state: {
dropFrames: 48,
dropAcceleration: false
}
}
// Props and children state
{
rows: 20,
cols: 10,
state: {
children: {
activeTetrimino: {
position: {
x: 2,
y: 12
}
}
}
}
}