New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-redux 7 bug return exact props type component #3788
Comments
@maystrenkoYurii you need to fork this repository and push to your own fork, then you can make a pull request |
To do this using the
cd ~/flow-typed
hub fork
hub push --set-upstream maystrenkoYurii react-redux-fix-issue-3788
hub pull-request |
@jedwards1211 |
Yeah, the cd ~/flow-typed/cli
yarn
node dist/cli.js run-tests react-redux How come you're using
I assume you get some other errors if you don't use The new import * as React from 'react'
import { useSelector } from 'react-redux'
export const ResetScrollOnLocationChange = () => {
const locationUrl = useSelector(getRouterLocationUrlWithReselect)
const mounted = React.useRef(false)
React.useEffect(() => {
if (mounted.current) window.scrollTo(0, 0)
mounted.current = true
}, [locationUrl])
return null
} And then render (You can also use |
@jedwards1211 i am run test local without changes node v12 but its fail |
Looks like the |
@jedwards1211 after chenge(before 2 screen) good work in my project I think the resulting component should return Component with non Exact props but tests failes in master branch even without changes |
problem ConnectedComponent return exact Config props
I fixed this problem
The text was updated successfully, but these errors were encountered: