question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

https://react-redux.js.org/api shows "7.1" version but outdated docs

See original GitHub issue

Do you want to request a feature or report a bug?

Yes

What is the current behavior?

I got on https://react-redux.js.org/api most likely from a DDG search or somebody linking it in SO or something. Documentation lists createProvider which we were using but was removed since version 6 or so, however label on top shows version 7.1 so it was very confusing that API documentation is outdated and there are no references to createProvider in documentation source

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn’t have dependencies other than React. Paste the link to a CodeSandbox (https://codesandbox.io/s/new) or RN Snack (https://snack.expo.io/) example below:

  1. Open up https://react-redux.js.org/api#createprovider
  2. See version at top say “7.1”
  3. Try to use createProvider - it’s gone
  4. (optional) Look all over source code for it to see if it was removed and why documentation lists it and if removal was intended or accident or what
  5. (optional) Make this bug report

What is the expected behavior?

https://react-redux.js.org/api redirects to most recent documentation or gives 404 or updated to reflect recent changes or show correct version.

Which versions of React, ReactDOM/React Native, Redux, and React Redux are you using? Which browser and OS are affected by this issue? Did this work in previous versions of React Redux?

Firefox.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
yangshuncommented, Jan 9, 2020

It’s gonna be a complicated move and this will be the first versioned site to move. I’ll probably take up this migration myself, but it’ll take a while.

0reactions
markeriksoncommented, Oct 14, 2020

We’ve upgraded to DSv2 in #1638 , so I think this is fixed now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hooks - React Redux
React Redux includes its own custom hook APIs, which allow your React components to subscribe to the Redux store and dispatch actions.
Read more >
Why Redux is strongly recommending to use hooks API? #1796
In the latest docs of React-redux, they are strongly recommending to use React-redux hooks API, while the connect() method is already much ...
Read more >
React-redux createStore is deprecated in typescript but not ...
However when I convert to react typescript it shows me that createStore is deprecated. And its recommended to use the configureStore method of ......
Read more >
React Redux connect(): When and how to use it
In this guide, we'll show you how to manage state in React ... As of version 7.1, Redux supports React Hooks, meaning you...
Read more >
react-redux with hooks is here! - Jakob Lind
This is a TLDR; version of the docs. I'll only show you the happy-path. I'll take you step-by-step and refactor an old connect...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found