-
-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is componentsScan deprecated or not? #2087
Comments
Hello @borjapazr Here is the complete answers :) Ts.ED don't need Components Scan to works. Components Scan is just a feature that simplify the development process. Using ES6 import: import {MyService} from "./MyService"; // if the symbole is used
import "./MyService"; // if the symbole isn't used but you have use it because you use hooks See you |
Great! Very good answer @Romakita 😊 So from v7 I think it's perfect to use Thank you! 🙏 |
Mount option will only accept Symbols and not a globpattern. componentsScan will be removed ;) |
As I see in the documentation
componentsScan
seems to be deprecated. However, reviewing other parts of the documentation it appears exposed as a functionality that can be used, even in the examples on GitHub there are references to this functionality. IscomponentsScan
deprecated or not? In case its use is not recommended, what alternatives are there if we have a set of components that are not imported explicitly in another components and we want them to be detected by the TSED dependency container?The text was updated successfully, but these errors were encountered: