stimulus-use icon indicating copy to clipboard operation
stimulus-use copied to clipboard

`useDispatch`: deprecate mixin

Open marcoroth opened this issue 3 years ago • 1 comments

Since Stimulus now got a dispatch() function built-in (see: https://github.com/hotwired/stimulus/pull/302) we should think about deprecating (and later removing) the useDispatch() mixin from Stimulus Use.

While it's still handy to have it included, so older apps can also use it, we should go through a deprecation cycle and start printing deprecation warnings to people still using it and let them know how they can migrate it.

Follow-up of #174

marcoroth avatar Jun 22 '22 03:06 marcoroth

I agree that this should be part of 1.00.

adrienpoly avatar Jun 22 '22 04:06 adrienpoly