Are there any benefits for library authors to switch from Actions to Attachments? #16432
Replies: 2 comments 3 replies
-
Actions were developed in Svelte 1.58.2 (#1247) and haven't really evolved since. |
Beta Was this translation helpful? Give feedback.
-
If the actions are exposed to the users of the library, I would recommend switching to attachments. There is a distinct advantage in that attachments can be passed through components which is not possible with actions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
svelte-dnd-action
, and recently I asked the author if there's any plans to switch from Actions to Attachments. The author commented as titled, as well as pointing out that Svelte already providesfromAction
for people who need it, though they aren't sure why would anyone need to do so in the first place.So if a library exist before Attachments and works fine using the Actions system, are there any benefits for library authors to switch from Actions to Attachments?
isaacHagoel/svelte-dnd-action#655
Beta Was this translation helpful? Give feedback.
All reactions