Flashcards Challenge Project (Redux)

Hi everyone,

Just finished the project. Please take a look at my code, will be grateful for any kind of feedback. It was quite a challenge for me to be honest.

GitHub: GitHub - josefhlava/flashcards

Hi,
I seem to be having some issues with this one, which unless I’m doing something really daft, I’m wondering if there are some technical issues with the project files?
I first tried following the instructions to install it, so I could work off-platform but it installed a lot of out of date and deprecated packages. Because I have a newer version of the eslint package higher up the tree, I have run into some critical dependency issues which won’t allow the app to run at all. I tried following the advice in the error messages but it didn’t work.
So I then tried doing the project on-platform and I have got to step 9. Nothing gets added on the topic form and the console is giving the message of: Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.
I have checked and rechecked my code many times and have even tried copying/pasting the solution code directly and it always gives exactly the same error message.
I would be grateful for any advice on this.
Many thanks!
Tom
P.S. Although not related to this particular issue, I noticed that the Quiz component function has been given the name ‘Topic’. So there appear to be two topic components. This is in both starter and solution files.

I had the same issue, you need to change the quiz file to have the name quiz. If you are still working on this commit it to git and post a link to get help

I completed the project in Typescript, here’s my github repo: GitHub - ajhausdorf/flashcards: Typescript rendition of Codecademy's Redux challenge project

Hello everyone!
This is my solution for the Flashcards project.
Repo
Netlify
Good experience of debugging because none of the features worked the first time I tested it!
Happy coding! Keep struggling!
Angelika

hey guys
here is my solution:

github: GitHub - amanc1248/flashcardcodecademy

done!
This project was awesome. but I wish this was involved with react topics too. That way it would be more challenging. by the way, thank you.

hiradfazeli/flashcards-starter

please, can someone explain me why in TopicsSlice.js:

export const selectTopics = state => state.topics.topics;
and not
export const selectTopics = state => state.topics;

? why state.topics.topics?

The state has the following structure according to its instructions:
{
topics: {
topics: {
‘123’: {
id: ‘123’,
name: ‘example topic’,
icon: ‘icon url’,
quizIds: [‘456’]
}
}
},
so we need to use state.topics.topics

Hi all,
sharing my solution here. Any feedback is much appreciated.