How to keep ngrx DRY? [closed]

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

  1. danday74

    danday74 Guest

    (DRY = Don't repeat yourself)

    I've got two pieces of state. One deals with cars, and one with planes.

    All the actions are copy and paste and change the action names.

    All the effects are copy and paste and change the effect names and request URLs.

    All the reducers are essentially copy and paste.

    Is there any way to avoid this duplication in ngrx?

    Continue reading...

Compartilhe esta Página