Skip to content

Commit b78d9fc

Browse files
author
Alain BOUDARD
committed
docs: article reference and comment
1 parent 6601da0 commit b78d9fc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# springboot-ngrx-data
22

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.
55
Find the lib here : https://ngrx.io/guide/data
66

7+
Source code of this article :
8+
https://coco-boudard.medium.com/spring-boot-data-and-angular-ngrx-data-cbed33fc6015
9+
710
## Install
811

912
Clone this repository

src/angular/src/app/todo/todos/todos.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class TodosComponent implements OnInit {
3232
}
3333

3434
updateTodo(todo: Todo) {
35-
// can't mutate the object directly
35+
// can't mutate the object directly since NgRx 10
3636
// todo.active = !todo.active;
3737
this.todosService.update({...todo, active: !todo.active});
3838
}

0 commit comments

Comments
 (0)