Where can I find the v1 documentation? #3998
-
It seems RTK version 2 is incompatible with TS 4.3.2, see https://stackoverflow.com/questions/77684107/got-error-ts1005-expected-when-try-to-run-a-type-check-command-using-tsc/77684170 Downgrading the RTK to v1.9.7 solves the problem. So I am looking for the RTK v1.9.7 documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Yes, we now require TS 4.7+ for RTK 2.0. We don't maintain fully versioned docs. You'd need to look at the contents of the That said, there aren't that many differences API-wise between v1 and v2. See the migration guide at https://redux-toolkit.js.org/usage/migrating-to-modern-redux for an idea of what's changed. A couple questions:
|
Beta Was this translation helpful? Give feedback.
-
Recommendation for your next major release, you could have done something similar to what React Router team did with the old version, the offer the old documentation this way I was trying to type a listenerMiddleware using the documentation found in https://redux-toolkit.js.org/api/createListenerMiddleware#startlistening just to realize I was looking at the wrong version. Gladly I found the answer in StackOverflow ✌️ https://stackoverflow.com/a/74814320 if not I probably should have spend time looking for it the docs folder in repo in the old versions... |
Beta Was this translation helpful? Give feedback.
Yes, we now require TS 4.7+ for RTK 2.0.
We don't maintain fully versioned docs. You'd need to look at the contents of the
docs
folder in the repo.That said, there aren't that many differences API-wise between v1 and v2. See the migration guide at https://redux-toolkit.js.org/usage/migrating-to-modern-redux for an idea of what's changed.
A couple questions: