Diagnostic: Warn if [name]Outlet
is used in connect()
#288
Labels
diagnostic
Feature that implements a `textDocument/diagnostic` request.
enhancement
New feature or request
feature
Issue that implements a new feature.
Stimulus cannot guarantee that an outlet is available in the
connect()
method. We can add a diagnostic to let people know that it might have undesired behavior and that they should use the[name]OutletConnected()
callback Stimulus provides.Inspired by @scottwater's tweet: https://twitter.com/scottw/status/1793071577669734619
The text was updated successfully, but these errors were encountered: