Closed gwansikk closed 2 weeks ago
Candidate | Reasons | Count | Add this as commit message |
---|---|---|---|
@gwansikk | https://github.com/toss/suspensive/issues/1322#issuecomment-2415726108 https://github.com/toss/suspensive/issues/1322#issuecomment-2427303941 https://github.com/toss/suspensive/issues/1322 | 3 | Co-authored-by: gwansikk <39869096+gwansikk@users.noreply.github.com> |
I understand that this task is not essential and could even interfere with library maintenance. However, I believe it could become a valuable productivity tool in environments with large codebases, which is why I’m proposing it. What are your thoughts?
I’m currently dealing with a busy schedule. 😥 I promise to complete the PoC for this idea within this month. If you have any good ideas related to this, please feel free to share!
Package Scope
@suspensive/react-query
Description
A useful idea has come to mind. Currently, @suspensive/react-query differentiates the API usage based on the version of @tanstack/react-query present in the user’s environment. When upgrading from v4, which lacks the Suspense Hook, to v5, the migration instructions are displayed through JSDoc as shown below.
What if we take this further and offer a CLI tool to automate the code migration, similar to @next/codemods? This way, users could easily upgrade the v4 API to the v5 API across their codebase. I believe this would provide a smoother transition. (This is an idea proposal.)
Possible Solution
etc.
No response