And similar to why we moved the actions of the U.S., I also want to remove the producer because there's
going to be way more functionality to what we have right now.
And you really don't want to clog up your jars.
So that way we have more space and it's more understandable of what is what the functionality will be
in reducers file.
And then we're just going to import reducer and set it up once we set up the store.
So again, sidebar open, then let's look for the source.
And then in the source, let's create our producer.
Just keep in mind later, as we're adding more producers, we're going to set this up in a separate
folder altogether.
But for the time being, we have reduced our Dubcek's.
So I'm going to head back to Apgar's.
So let me make a proper selection.
Cut it out.
I don't think I need any more the comment I'm in reducer, I'm just going to copy and paste.
Now, I do need to export it.
And I think I'm just going to go with default export.
So I export default and I do have my producer.
Let me say right now, there's going to be a problem, though, because notice how we're referencing
right now our verbals.
We're referencing decrease and increase.
So this is going to be the case where we're going to have to change.
So we're still despatching in the objets and we're going to do that for maybe two videos once we set
up, of course, our functionality and application.
That's not how we're going to dispatch our actions.
But since at the moment we have our dispatchers and things that we want to show that our producer will
still work, even though it's going to be in a separate file, I'm going to keep my imports here, but
we would want to also copy and paste and paste it in the register just as well.
Otherwise, again, we're going to have a big, fat error.
And then where I have the address now, I would want to import my producer as well.
So let me close the sidebar and then right after the elections, I'm going to go import.
Now, it is a default export so I can call this what I would want want, but I'm going to go with a
reducer.
And then from then, of course, we're looking for my producer file and then I don't need to change
anything.
I'm already referencing the function.
And once we save it, since we don't get any errors, that means that we successfully moved our producer
function to a separate file.
And you can clearly see how we freed up the space in the objets.
So now our functionality is going to be another user, just our actions are going to be in the actions
jazz and then in the objets.
We're just going to set up the store and initialize it using our initial store and the producer.