<a href='/posts' data-sg-visit={true} />
, Superglue fetches the next page's full content in JSON and swaps it with the current page JSON before handing it to your next React page component.index.json.props
, and respond with the full page's JSON for your next page component to consume.layout/application.json.props
:data.dashboard.key_metrics_chart
node without executing other nodes in your template.props_at
is a keypath, here's another example using an array:data-sg-remote
or data-sg-visit
in the examples.data-sg
attribute receives superpowers inspired by Rails data attributes.