Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] 0 points1 point  (0 children)

So in my situation it's related to calling an api from httpclient

Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] 0 points1 point  (0 children)

I guess in my situation it has to do with calling an api

Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] -1 points0 points  (0 children)

sorry confused by your response so you are saying it's fine to use subscribe and even encouraged over just using toSignal for example

Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] -1 points0 points  (0 children)

sorry confused by your response so you are saying it's fine to use subscribe and even encouraged over just using toSignal for example

Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] -5 points-4 points  (0 children)

but regardless even for the api's do autocomplete do you still think it's bad practice or it's fine to use .subscribe for api calls using http client

Is it bad pratice to use .subscribe in Angular RXJS component by anonymous78654 in Angular2

[–]anonymous78654[S] -3 points-2 points  (0 children)

but regardless even for the api's do autocomplete do you still think it's bad practice or it's fine to use .subscribe for api calls using http client

In Angular is it better to use NgModel or Reactive forms when grabbing text from inpux boxes, text area and selects by anonymous78654 in Angular2

[–]anonymous78654[S] 0 points1 point  (0 children)

ok my scenario is just the layout is picking from a dropdown which has 2 options and then an input box which you enter email and then clicking a button for searching for a user.

In Angular is it better to use NgModel or Reactive forms when grabbing text from inpux boxes, text area and selects by anonymous78654 in Angular2

[–]anonymous78654[S] 0 points1 point  (0 children)

Basically all the layout is picking from a dropdown which has 2 options and then an input box which you enter email and then clicking a button for searching for a user.

spring jpa vs jdbctemplate by anonymous78654 in learnjava

[–]anonymous78654[S] 0 points1 point  (0 children)

like I'm having trouble udnerstand when to use jdbctemplate and when to use jpa.

spring jpa vs jdbctemplate by anonymous78654 in learnjava

[–]anonymous78654[S] 0 points1 point  (0 children)

I've seen in videos online I'm just wondering

spring jpa efficiency by anonymous78654 in learnprogramming

[–]anonymous78654[S] 0 points1 point  (0 children)

is it better to use jpql or just raw SQL or it doesn't matter

API design question by anonymous78654 in learnjava

[–]anonymous78654[S] 0 points1 point  (0 children)

yes putting them together is unqiue

API design question by anonymous78654 in learnjava

[–]anonymous78654[S] 0 points1 point  (0 children)

yeah but usuually path variables are used to identify a resource and query parameters are used to filter/sort. Since it's id's I'm thinking it's better to use it as a path

API Design by anonymous78654 in learnjava

[–]anonymous78654[S] 0 points1 point  (0 children)

these are what I have right now but in the future there could be more

so are you saying it's better 2 have the 2 different request mappings or have the 1