visits, Superglue uses the response's
content-locationto create the key used to store your props.
update, the returned response does not necessarily reflect the url the user should see.
posts/newand they make a POST request to
posts/, we may decide to render
posts/newfor any errors you'd like to show.
updatemethods. If you used the generators, this is done for you.
propsof your connected component:
data-sg-visit, all flash in Superglue's redux state will be cleared before the request.
data-sg-remote, the recieved flash will be merged with the current page's flash.
props_atparameter as part of the redirect
location. This helper has the same method signature as Rails own
form_withthat can be used to passed to React. Has the same method signature as