tengo un estado asi
[ {note,header,id},{note,header,id}.... ]Y ahora quiero agregar una lista de verificación, pero realmente confundo cómo estructurar los datos, estoy dispuesto a hacer algo como
[ {note:[if array then checklist or if string will be note],header,id}.... ]O
[ {note,header,id, checklist}.... ]O formato como
{ note:[ {note,header,id}.... ], checklist:[checklist,header,id]... }Tanto las notas como el encabezado tendrán encabezado.