QA: General Feedback
This Issue is the place to discuss any general feedback on these challenges.
One of my pet peeve was the gazillions of live rendering errors in console. I hope this would go away in the main site, right?
Otherwise, students would have a hard time trying out some snippets in browser console, while working on these.
Yeah I agree and yes we could remove these here but I've left them because they have helped us developing and debugging some of the challenges. They shouldn't be in the final version.
cmd + enter to submit a challenge seems a bit 'Mac-centric' since windows and linux machines don't usually have a cmd key. Should we list an alternative for other OS?
Let me take a look at implementing ctrl + enter for non-Mac machines as a way to test the challenge code if that is a good key combination for this?
I think that's what FCC uses per this thread https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9850
Okay I'm going to go ahead and add this. Should be available in the next few minutes.
I think we should have the Live Preview below the code, rather than above. When the live preview updates, it's easy to lose track of where you are in your code.
Since I've only been posting issues about the problems I've found, I'd like to say that this has been one of the best introductions to React that I've ever seen. This is a fantastic course that's going to help a lot of people.
I started from Redux 1, and I'm on lesson 12 now.. It's super awesome and clear, and I'm learning a lot! Thank you. I'm just making pull requests for typos -- everything seems to be working perfectly for me so far.
So in redux lesson 13, none of the tests seem to be working, even the console output doesn't show anything when I console.log() it's the "write a counter in redux" - here's my code
const INCREMENT = 'plus';
const DECREMENT = 'minus';
const counterReducer = (state = 0, action)=>{
switch(action.type){
case INCREMENT:
return state + 1;
case DECREMENT:
return state - 1;
default:
return state;
}
const incAction = {type: INCREMENT}
const decAction = {type: DECREMENT}
const store = Redux.createStore(counterReducer)
console.log('test')
I think it's probably functioning correctly. There needs to be a closing bracket } to end the switch statement and both action creators incAction and decAction have to be functions that return objects with a type property. Otherwise, this code looks good and passes when I test it with those modifications.
Ah my bad! You're right, that works.
No worries! By the way thanks a ton for working on the Redux challenges and sending in that PR. I'm about to merge it. Haven't gotten a ton of feedback on the Redux challenges yet so I'm glad to hear you like them. 👍
Update css stylesheet to include this declaration
body{width:100vw;}
What issue are you seeing with the width?
Fix a typo, "consecutively"
I just wanted to thank you for your work on this. I've been looking forward to working on React, and these challenges are great. I've only made it through the first 24 so far, but I'll keep going and send in any thoughts.
Awesome! Thanks a lot for your feedback it's really helpful!
I've updated the code with the recent changes you've suggested but it won't show up in the live version immediately, FYI.
No worries the experience is pretty awesome so far