<% @previous_ancestors.union(@ancestors).each do |ancestor| %> <%= turbo_stream.replace ancestor %> <% end %> <% @self_and_progenies.each do |quantity| %> <%= turbo_stream.remove quantity %> <%= turbo_stream.before @before || :endmark, quantity %> <% end %>