Where to store constant data structures in Angular? [closed]

Discussão em 'Angular' iniciado por user10103655, Novembro 12, 2024.

  1. user10103655

    user10103655 Guest

    I have an angular app with a lot of data that's not dynamic. So a lot of object literals, records, arrays filled with values that are just constant. Is there any benefit of storing these kind of objects in services compared to just importing them individually from a file? I don't plan to write any unit tests.

    Continue reading...

Compartilhe esta Página