Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

44
Vistas
How to structure data fetch from firebase

I have an state like this

[
  {note,header,id},{note,header,id}....
]

And now i want to add checklist, but i really confuse how to struct the data, i'm willing to do something like

[
      {note:[if array then checklist or if string will be note],header,id}....
]

Or

[
      {note,header,id, checklist}....
]

Or format like

{
  note:[
     {note,header,id}....
   ],
  checklist:[checklist,header,id]...
} 

Both notes and header will have header

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.