Skip to content

Commit

Permalink
Adding example for 3.x migration
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Dec 24, 2023
1 parent 1843e98 commit 0dca65f
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 @@ -237,6 +237,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 0dca65f

Please sign in to comment.