-
Notifications
You must be signed in to change notification settings - Fork 31
RTK Query Release Planning notes #175
Comments
In regards the last question, I think the level of separation from the rest of the docs will be dependent on how it is integrated into the larger RTK library.
|
At the moment, the rough plan is that the There will be a new As far as docs organization, I assume there'll be two aspects:
|
Makes sense, for the second point I'd lean toward putting it as its own category within "Using Redux Toolkit," instead of its own top-level category, as it'll be a decent sized chunk of docs but still comparable to the length of other content in that category. And it wouldn't make as much sense to have it separated because you would be recreating an API Reference section and a Using Redux Toolkit section within the new top level section. |
From twitter:
|
@gfortaine Just wanted to give you a quick ping as you've contributed quite a few things - if you have any additional feedback, please let us know! We have a few more features pending right now that we're aiming to roll out soon. If we're missing anything you've come across, let us know! @kahirokunn Your input would also be valuable here, thanks! |
I can think of three things that would be useful, but I don't think absolutely necessary; in my experience, pagination is frequently done using a skip token rather than just incrementing the page number. I think overall just having another explicit example of changing a query based on the response of a previous query to the same endpoint. I could see pagination using a skip token as an example, or having the polling time set by the retry-after header. I think overall documentation could be easier to have some more explicit walkthroughs - though perhaps some of that could be done through an updated example to use rtk-query for RTK core's examples.
I think it should be its own header, but can also see it being fine as a subheader under "Using Redux Toolkit" as mentioned above. I feel like the rest of RTK can be seen as a more clean drop-in substitute for Redux for new projects, where rtk-query is more of an additional feature that RTK has that is wonderful integration, but not a default thing that people would think of (the way createSlice/Action/Reducer are). You could maybe make the argument that it should go alongside createAsyncThunk, but even then the use case is related but not really a drop-in. I think with the amount of documentation and examples you have already on the rtk-query documentation site, it makes the most sense to keep it as a separate header. |
Adding some notes from our call: RTKQ
RTK
RTK Misc:
RTK Docs:
|
adding from memory:
|
@msutkowski It looks like that we don't have any additional comments on our side 😀 For your kind reference, we have successfully moved from a homemade fetcher to RTK query like a breeze in our production project. Now, we are eagerly waiting for the 0.3.0 to move forward 👍 Thank you for the great work guys 🎉 @phryneas @msutkowski |
So, another TODO would be a rename for: entity -> tag |
Also |
see #213 |
So, stuff that happened since the last release: "new apis":
potentially breaking
tweaks & fixes
And of course Docs docs docs by @Shrugsy, @markerikson but also quite a lot of smaller tweaks in master and next. I'm not gonna name all of them here now to avoid a mass ping though. |
The primary RTKQ migration work is now done, and I've just published https://github.com/reduxjs/redux-toolkit/releases/tag/v1.6.0-alpha.1 containing the RTKQ APIs as part of the RTK package! This is basically |
I'm closing everything here now. If there's any need for further discussion, that should take place in a new issue over at https://github.com/reduxjs/redux-toolkit/ |
The maintainers (@phryneas , @msutkowski , and myself) are hoping to nail down plans within the next few days for finalizing and releasing the "RTK Query" APIs officially.
This will presumably involve migrating the source code for
createApi
over into the Redux Toolkit codebase itself, and moving the documentation from https://rtk-query-docs.netlify.app into the actual Redux Toolkit docs at https://redux-toolkit.js.org . This would be followed by releasing a new Redux Toolkit version with that functionality, likely a v1.6 release.Key things for us to figure out:
The text was updated successfully, but these errors were encountered: