Closed brownieboy closed 5 years ago
Please download the example from codesandbox website: https://codesandbox.io/s/github/iamhosseindhv/notistack/tree/master/examples/redux-example
Thanks, @iamhosseindhv .
Yes, I had already reworked the example code to add a /src folder, which is how it is in the Codepen example I see.
Is somebody going to change the example in the repository to match what's in Codepen so that it works? I'm happy to submit a PR for this, but it would really just be repackaging somebody else's work.
Expected Behavior
Current Behavior
Steps to Reproduce
No codesandbox example. You can reproduce by cloning the Git hub repository, cd into the redux-example folder and issue a
yarn start
command.Link:
1. 2. 3. 4.
Context
Start the Redux example
Your Environment
Problem is that react-scripts looks for index.js in a /src sub-folder and there isn't one in the example code. There doesn't seem to be any way of overriding where react-scripts looks for the start script either.
As a workaround, I created a /src folder and moved the example code into there. Then
yarn start
worked.