In an effort to standardize our Javascript approach and consolidate how we write/implement javascript in our frontend, we first need to peel off of frameworks and paradigms that are no longer providing any value. For this reason, we want to transition from Stimulus JS. In migrating away from Stimulus, which has a very small and at times, unsupported, community, it would cause all client-side code to either be in Preact or Vanilla JS, which is part of phase 1 of our Frontend refactor. It would also allow developers to implement of complex frontend implementations accordingly.
Currently, we have 15 controllers that are considered Stimulus controllers. We would like to migrate these to vanilla JS and/or Preact where applicable. Issues are segmented based on the amount of logic, functionality and dependencies within each controller. In migrating these controllers, we want to assess the best paradigm for the functionality to live(Vanilla JS or Preact) and ultimately assure functionality and performance are not lost.
The following controllers are Stimulus controllers:
config_controller.js
ahoy_controller.js
alert_controller.js
article_controller.js
consumer_app_controller.js
data_update_script_controller.js
image_upload_controller.js
logo_upload_controller.js
modal_controller.js
reaction_controller.js
sidebar_controller.js
snackbar_controller.js
svg_icon_upload_controller.js
user_controller.js
ajax_controller.js
List view
0 issues of 7 selected
- Status: Open.#18829Â In forem/forem;
- Status: Open.#18840Â In forem/forem;
- Status: Open.#18841Â In forem/forem;
- Status: Open.#18842Â In forem/forem;
- Status: Open.#18843Â In forem/forem;
- Status: Open.#18844Â In forem/forem;
- Status: Open.#18845Â In forem/forem;