Currently at Zocdoc in NYC πΊπΈ
Originally from Brazil π§π·
@iamlucasmreis

Did you go from
to
?
In the agile world we tend to jump into code too soon
Planning for a couple of hours will do wonders!
(or even a couple of days for more complex components)
The reasoning:
The best planning tools are:
(more specifically Statecharts)
Statecharts deal better with complexity
Great starting point for sketching your Statechart

Is becoming the JS standard for working with Statecharts, framework agnostic
{
"key": "Oven",
"initial": "off",
"states": {
"off": {
"on": {
"BAKE_PRESSED": "heating"
}
},
"heating": {
"on": {
"OFF_PRESSED": "off"
}
}
}
}


Uses xstate to actually manage your React components
const InsurancePicker = withStateMachine(statechart)(Container);class Container extends React.Component {
state = {
selectedCarrier: null,
selectedPlan: null,
carriers: [],
plans: []
};

AND WE'RE DONE!
Lucas Reis
@iamlucasmreis
