lagunovsky / redux-react-router

A Redux binding for React Router v6
MIT License
73 stars 9 forks source link

Missing class properties transform #2

Closed agusterodin closed 3 years ago

agusterodin commented 3 years ago

I am getting this error in Create React App. Was this component not achievable with functional components and hooks?

 Missing class properties transform.
  69 | }
  70 | class ReduxRouter extends React.Component {
> 71 |     removeHistoryListener;
     |     ^^^^^^^^^^^^^^^^^^^^^^
  72 |     removeStoreSubscription;
  73 |     timeTravelling = false;
  74 |     static defaultProps = {
lagunovsky commented 3 years ago

I think I fixed this problem, please check and let me know.

agusterodin commented 3 years ago

Works, thanks!