           children: [
                                {
                                    input: {
                                        type: 'checkbox',
                                        className: 'todo-checkbox',
                                        checked: todo.completed,
                                        onchange: () => {
                                            setState(`todos.${todoId}.completed`, !todo.completed);
                                        }
                   