Hi James,
When sharing data between components, you often are limited to a few options:
Since its likely that you'd want to reference user information and login states throughout your app, I'd highly recommend the latter.
Let me know if you need more help!
let's say i make a service, how then do i input my user auth from my example? I'm sorry i'm very new to this.
short answer:
example:
no worries, here are some articles that will probably do a better job of explaining than I do:
Methods of passing data between components:
Using a service to pass data between components:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi James,
When sharing data between components, you often are limited to a few options:
Since its likely that you'd want to reference user information and login states throughout your app, I'd highly recommend the latter.
Let me know if you need more help!
let's say i make a service, how then do i input my user auth from my example?
I'm sorry i'm very new to this.
short answer:
example:
no worries, here are some articles that will probably do a better job of explaining than I do:
Methods of passing data between components:
Using a service to pass data between components: