This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(guide/directive): remove confusing best practice
Prior to this point, the docs do not mention returning a postLink function, and all the examples use the definition object form. So, this message is confusing to new readers who may misinterpret "returning a function" as returning the factory function mentioned in the previous section. Since this page is only a "gentle introduction" to directives, and using the definition object is a best practice, it is best to just remove the message altogether. Closes #14871
- Loading branch information