hotwired / turbo

The speed of a single-page web application without having to write any JavaScript
https://turbo.hotwired.dev
MIT License
6.72k stars 428 forks source link

Page Refreshes: targets in stimulus seems to use old values #1087

Open meceo opened 11 months ago

meceo commented 11 months ago

I test page refreshes on a small project. the project uses https://github.com/stimulus-components/stimulus-rails-nested-form

I have \<template> tag that has some attributes preset. The presets change according to user actions that triggers new page content from server response. After activating morph I noticed the