|
|
|
|
|
by mike1o1
2025 days ago
|
|
One benefit is when combined with Turbolinks there is a need to bootstrap the Vue/React component. The Stimulus controllers respond to mutation observers and always work. If a new HTML element is added to the DOM and has a controller, it just works and is now active. This might not be the case with React or Vue, as you'd have to then bootstrap the component. This makes Stimulus a really good combo when used with Turbolinks or partial Javascript responses. |
|