Closed tinykite closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.22%. Comparing base (
b51bc33
) to head (a2fed03
). Report is 6 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this does
This update adds a global vue store to test out cross-island interactivity between legacy code and new Vue components. Notable updates:
HelloWorldB
to make sure that updates to Vue's store are shared across components.dashboard.js
to test out that we can listen to updates to the Vue store outside of Vue — and similarly make calls to update it as well.Screenshot
This small experiment provides three different buttons to increment the store's count (one Vanilla JS, two rendered by Vue)![Screenshot 2024-03-27 at 11 53 43 AM](https://github.com/harvard-lil/perma/assets/4039311/00c2028a-eae2-47e7-b658-1e87aeb686c5)
Clicking any of the buttons should update all three counts:![Screenshot 2024-03-27 at 11 53 56 AM](https://github.com/harvard-lil/perma/assets/4039311/673a522d-88e2-44b4-9958-3ba29f2949ac)