You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@autoInjectable doesn't work with Create React App.
To Reproduce
Expected behavior
I'm sure there's an issue surrounding the way webpack is processing these file, but without ejecting the app, is this possible?
We also want to avoid using the container.resolve() syntax. If its possible to get instances of classes from the container in tsx files without either container.resolve() or autoinjectable, then shout.
Version:
"react-scripts": "^5.0.0",
"tsyringe": "^4.6.0",
The text was updated successfully, but these errors were encountered:
Describe the bug
@autoInjectable doesn't work with Create React App.
To Reproduce
Expected behavior
I'm sure there's an issue surrounding the way webpack is processing these file, but without ejecting the app, is this possible?
We also want to avoid using the container.resolve() syntax. If its possible to get instances of classes from the container in tsx files without either container.resolve() or autoinjectable, then shout.
Version:
The text was updated successfully, but these errors were encountered: