Turbo.visit(my_url)
performs a normal GET
request, only accepting HTML content. If you want to send a Turbo Stream request to receive a Turbo Stream response, use it as follows:
Nov 14, 2024
Turbo.visit(my_url)
performs a normal GET
request, only accepting HTML content. If you want to send a Turbo Stream request to receive a Turbo Stream response, use it as follows: