Skip to content

Commit 217a8ba

Browse files
sdrasbencodezen
andauthored
Update src/cookbook/gradual-compositionapi-migration.md
Co-authored-by: Ben Hong <ben@bencodezen.io>
1 parent dd269dc commit 217a8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cookbook/gradual-compositionapi-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ The second example is reusable throughout the application across multiple compon
246246

247247
## Alternative Patterns
248248

249-
Not everything needs to be refactored, though. Use judgement to guide you and not hype. The Options API can support quite a lot of use cases, and it's absolutely fine to keep your components in the Options API, and move reusable logic and/or state management to Composition API, depending on your needs.
249+
Not everything needs to be refactored, though. Use data driven refactoring to guide you and avoid pre-optimizing when it's not necessary. The Options API is still a valid approach that will still allow you to build powerful applications. And in the event you find there's a lot of reusable logics and/or state amongst your application, that might be a good time to consider the Composition API to enhance your application!
250250

251251
Remember: the strength of the Composition API is in:
252252

0 commit comments

Comments
 (0)