vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
616 stars 167 forks source link

`@Uses` javadoc could mention `UIInternals.addComponentDependencies()` #7350

Open mvysny opened 4 years ago

mvysny commented 4 years ago

Please add the mention of possibility to dynamically load JS stuff via UIInternals.addComponentDependencies() into the @Uses javadoc. This could be useful e.g. for UI frameworks that use Vaadin under the hood.

mehdi-vaadin commented 4 years ago

UIInternals is part of Flow internal API and is not supposed to be called by users. So, I think it's not a good idea to mention or recommend it in our documents or public API Javadoc.