Update Strada to incorporate Stimulus and changes from HEY #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR continues the work begun by Zach Waugh to make Stimulus a dependency and export the
Component
specialization of the StimulusController
.Most of the work was functional as we received it. We cleaned up some minor things and compared it to the Strada code that can be pulled from hey.com. We added the additional functionality that was on hey.com for Android compatibility.
I'm not sure what held up the completion of Strada in Dec 2020. My guess would be that
BridgeElement
contains attributes and CSS classes that are HEY patterns.Strada is useful in its current form and we have it on our production site at Polywork.
There is a corresponding iOS PR at hotwired/strada-ios#2.