Skip to content

Commit

Permalink
Adding example for 3.x migration (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday authored and boardfish committed Jan 3, 2024
1 parent 4d5f35c commit eb14e9c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,17 @@ This release makes the following breaking changes, many of which have long been

*Joel Hawksley*

For example:

```diff
<%= render BlogComponent.new do |component| %>
- <% component.header do %>
+ <% component.with_header do %>
<%= link_to "My blog", root_path %>
<% end %>
<% end %>
```

* BREAKING: Remove deprecated SlotsV1 in favor of current SlotsV2.

*Joel Hawksley*
Expand Down

0 comments on commit eb14e9c

Please sign in to comment.