Skip to content

using Injection Tokens in v2 #2291

Answered by dotansimha
fridaystreet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, v2 at the moment is using Symbols as injection tokens. It's safer and ensures uniqueness, and reduces the risk of invalid string usages.
If using strings is crucial, please open an issue/PR and we'll try to address such support.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fridaystreet
Comment options

Answer selected by dotansimha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants