Skip to content


Why do the bean instance variable names use $$ as the prefix

It is recommended that the variable names of bean instances injected through the @Use decorator use the prefix $$. In this way, the variable names of the bean instance members will be divided into three groups, so that the required members can be found very quickly through auto-completion when writing code. Variable names are grouped as follows:

$$this.$$counterBean instances injected via @Use decorator
$this.$api, this.$routerMembers inherited through the base class BeanBase, provide commonly used system capabilities
nonethis.countMembers of the current bean instance

Released under the MIT License.