File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/angular/src/app/todo/todos Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# springboot-ngrx-data
2
2
3
- Spring Boot with NgRx Data in Angular 8
4
- This project demonstrates the use of Spring Boot with Angular 8 and NgRx Data lib on top of NgRx.
3
+ Spring Boot with NgRx Data in Angular 10
4
+ This project demonstrates the use of Spring Boot with Angular 10 and NgRx Data lib on top of NgRx.
5
5
Find the lib here : https://ngrx.io/guide/data
6
6
7
+ Source code of this article :
8
+ https://coco-boudard.medium.com/spring-boot-data-and-angular-ngrx-data-cbed33fc6015
9
+
7
10
## Install
8
11
9
12
Clone this repository
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class TodosComponent implements OnInit {
32
32
}
33
33
34
34
updateTodo ( todo : Todo ) {
35
- // can't mutate the object directly
35
+ // can't mutate the object directly since NgRx 10
36
36
// todo.active = !todo.active;
37
37
this . todosService . update ( { ...todo , active : ! todo . active } ) ;
38
38
}
You can’t perform that action at this time.
0 commit comments