Is it possible to update a value in assigns after successful form submit? My goal is to have a new value available after redirect.
So the flow would be: socket.assigns.something = false -> form submit and redirect -> socket.assigns.something = true
Hi @kaiba-ns, assigns are not shared between requests, so even if you could change the assigns for the submitted request, it still wouldn’t show up on the redirected request. Generally if you want something like that you either need to put it as a url parameter in the URL you’re redirecting to, or add it to the session.