README.md in futurism-0.1.0 vs README.md in futurism-0.1.1
- old
+ new
@@ -6,17 +6,17 @@
```erb
<%= futurize @posts %>
```
-custom `<futurism-elements>` (in the form of a `<div>` or a `<tr is="futurism-table-row">` are rendered. Those custom elements have an `IntersectionObserver` attached that will send the `dom_id` to an ActionCable channel (`FuturismChannel`) which will then replace the placeholders with the actual resource partial.
+custom `<futurism-elements>` (in the form of a `<div>` or a `<tr is="futurism-table-row">` are rendered. Those custom elements have an `IntersectionObserver` attached that will send a signed global id to an ActionCable channel (`FuturismChannel`) which will then replace the placeholders with the actual resource partial.
With that method, you could lazy load every class that has to_partial_path defined (ActiveModel has by default).
You can pass the placeholder as a block:
```erb
-<%= futurize @posts do %>
+<%= futurize @posts, extends: :tr do %>
<td class="placeholder"></td>
<% end %>
```
## Installation