Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/infinite-scroll.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Infinite scroll

@available_since rails=master core=2.2.0
@available_since rails=3.12.0 core=2.2.0

Inertia's infinite scroll feature loads additional pages of content as users scroll, replacing traditional pagination controls. This is great for applications like chat interfaces, social feeds, photo grids, and product listings.

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/merging-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `InertiaRails.merge` method will append new items to existing arrays at the
InertiaRails.merge { items }
```

@available_since rails=master core=2.2.0
@available_since rails=3.12.0 core=2.2.0

You may change this behavior to prepend items instead.

Expand Down Expand Up @@ -77,7 +77,7 @@ When merging arrays, you may use the `match_on` parameter to match existing item
InertiaRails.merge(match_on: 'id') { post_data }
```

@available_since rails=master core=2.2.0
@available_since rails=3.12.0 core=2.2.0

You may also use append and prepend with a hash to specify the field to match.

Expand Down