Closed Aprillion closed 4 years ago
I plan to investigate (and fix 🤞) this issue later today after work (or during weekend), but if someone figures it out sooner than that, feel free to go ahead and fix it ;)
Three things @Aprillion,
Could you help me understand the desire to add new files?
Could you help me understand the desire to add new files?
It's related to the PR#27 (and 28) for people who want to keep their extra credits solutions in separate files (as opposed to the recommended flow to edit only the one exercise file).
And more files can be created to compare different approaches to the same problem (e.g. 08 classes instead of hooks.js
)...
If that sounds too much of an edge case, feel free to close this issue and I will focus my time on doing the next exercise instead of debugging something between wepback import() and React.lazy() 😂
- That's odd
My thoughts exactly! But no time to dive deeper during work hours :/
I don't mind this getting fixed. I'm happy you've found a workflow you like. It's a shame that you have to restart the server to add new files.
Unfortunately I can't dedicate any time to fixing this myself. But feel free to fix it later if you have the time :)
Gotcha! classList
methods don't like a space (and the stack trace is much nicer with npm run dev
) => PR comming..
@kentcdodds/react-workshop-app
version: 2.17.0I just copied an exercise file in the
react-hooks
workshop and I noticed that we forgot to test the new feature with a space in the filename :(Reproduction steps:
exercise
folder of a workshop, create a file with space, e.g.01 copy.js
npm start
Expected:
Actual:
InvalidCharacterError: String contains an invalid character
error message