Skip to content Skip to sidebar Skip to footer

React Does Not Recognize My Function

I am developing an application in Reactjs, utilizing the Redux architecture. The application is using a third-party api that gets called when I submit a city into the search bar. I

Solution 1:

You need to export the redux component, not the react component

export default connect(null, mapDispatchToProps)(SearchBar);

Post a Comment for "React Does Not Recognize My Function"