1
00:00:01,010 --> 00:00:05,240
We've got some initial scaffolding put together around the side of our application, so let's now wire

2
00:00:05,240 --> 00:00:08,420
this up to the back side of app to get started.

3
00:00:08,430 --> 00:00:12,150
I'm going to find inside my SIRC directory the index dot file.

4
00:00:12,560 --> 00:00:15,410
So inside of here is the root component of our application.

5
00:00:16,010 --> 00:00:21,020
At the very top, I will import provider from REACT Redux.

6
00:00:23,000 --> 00:00:24,380
And our store.

7
00:00:26,430 --> 00:00:27,930
From the state directory.

8
00:00:29,020 --> 00:00:32,860
Then inside of our app component, I'm going to wrap that existing div with a provider.

9
00:00:36,000 --> 00:00:40,470
Add on a store prop and provide store like soap, and that's pretty much it.

10
00:00:42,510 --> 00:00:46,440
All right, quick safe, I'm going to go back to the browser and just see what's going on inside there

11
00:00:46,440 --> 00:00:46,840
right now.

12
00:00:47,070 --> 00:00:51,210
I really don't expect anything to be working per say, but what the heck, let's go check it out.

13
00:00:51,570 --> 00:00:52,410
It's when I go back over.

14
00:00:52,440 --> 00:00:56,790
This is the error message I had messaged me mentioned just a video or two ago.

15
00:00:57,090 --> 00:00:59,310
This is the one that says something about isolated modules.

16
00:00:59,520 --> 00:01:02,790
We're getting this because we've got some different files inside of our project that are completely

17
00:01:02,790 --> 00:01:03,600
empty right now.

18
00:01:04,230 --> 00:01:09,180
So if you see an error message like this, we're going to see this forever until you restart your development

19
00:01:09,180 --> 00:01:16,050
server and add some code or specifically at least one import or one export statement inside of all the

20
00:01:16,050 --> 00:01:17,050
different mentioned files.

21
00:01:17,880 --> 00:01:24,210
So at present, we have to completely empty files are action creators, index dots file and the reducers

22
00:01:24,510 --> 00:01:26,410
bundle reducer file as well.

23
00:01:26,790 --> 00:01:31,920
So if we want that error message to go away, we have to add in at least one import or export to both

24
00:01:31,920 --> 00:01:34,060
those files and then restart our development server.

25
00:01:34,440 --> 00:01:39,450
It's going to be a little bit before we ever have anything to put in, say, our bundles reducer file.

26
00:01:39,720 --> 00:01:41,850
So I'm not going to worry about that error message just yet.

27
00:01:41,970 --> 00:01:46,440
Again, I just want to mention that it's probably an error, you see, and I just want you to know it

28
00:01:46,440 --> 00:01:47,940
got to restart your development server.

29
00:01:49,200 --> 00:01:53,820
OK, so this definitely is good enough for now, so we'll take a quick pause right here when we come

30
00:01:53,820 --> 00:01:53,970
back.

31
00:01:54,000 --> 00:01:58,260
Next video, we're going to start with the implementation of some of our different action creators.

