Hey, Gadget enthusiasts! We've got some exciting news for those who've been with us since before July 2023. As we continuously aim to improve your experience, we're introducing a new way to represent actions: a single code-based file design.
Curious about how this will look? Let's dive into a walkthrough example.
Previously, Gadget actions were expressed using the Effects stack: widgets in the Gadget editor that ran as Run effects or Success effects. On December 15, we're ushering in a new era with a code-file design representing each action.
The best part? Your apps will be automatically upgraded on that date. If you're as excited about the next version of Gadget as we are, you can manually make the switch right now. Just look for the migration prompt at the top of your app's home page.
Rest assured, this change has no effect on the functionality of your app and everything will still be working as normal!
There are two main changes that take place when you upgrade your Gadget app:
- Each action is powered by a single code file.
- The Run and Success effect stacks are now <inline-code>run<inline-code> and <inline-code>onSuccess<inline-code> functions in this new action code file.
Migration jitters? Or perhaps a question popped up? Don't hesitate to reach out to support.
For those looking to dive deeper, check out our comprehensive guide on how the migration experience will look like.
If you have any questions or feedback surrounding the migration to a new design for your app’s actions, or want to make a request for support help in migrating, we’d love to hear from you in our Discord.