Example 1: Simple data example: Greeter component
The state of this component is set with the following:
{
'name': 'Stefan'
}
Example 2: Nested data example: Business card
The state of this component is set with the following:
{
'firstname': 'John',
'lastname': 'Doe',
'address': {
'street': '123 Main St',
'city': 'Anytown',
'country': 'USA'
}
}