We've got some initial scaffolding put together around the side of our application, so let's now wire
this up to the back side of app to get started.
I'm going to find inside my SIRC directory the index dot file.
So inside of here is the root component of our application.
At the very top, I will import provider from REACT Redux.
And our store.
From the state directory.
Then inside of our app component, I'm going to wrap that existing div with a provider.
Add on a store prop and provide store like soap, and that's pretty much it.
All right, quick safe, I'm going to go back to the browser and just see what's going on inside there
right now.
I really don't expect anything to be working per say, but what the heck, let's go check it out.
It's when I go back over.
This is the error message I had messaged me mentioned just a video or two ago.
This is the one that says something about isolated modules.
We're getting this because we've got some different files inside of our project that are completely
empty right now.
So if you see an error message like this, we're going to see this forever until you restart your development
server and add some code or specifically at least one import or one export statement inside of all the
different mentioned files.
So at present, we have to completely empty files are action creators, index dots file and the reducers
bundle reducer file as well.
So if we want that error message to go away, we have to add in at least one import or export to both
those files and then restart our development server.
It's going to be a little bit before we ever have anything to put in, say, our bundles reducer file.
So I'm not going to worry about that error message just yet.
Again, I just want to mention that it's probably an error, you see, and I just want you to know it
got to restart your development server.
OK, so this definitely is good enough for now, so we'll take a quick pause right here when we come
back.
Next video, we're going to start with the implementation of some of our different action creators.