From the course: Learning Apollo

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Update components for subscriptions

Update components for subscriptions

From the course: Learning Apollo

Start my 1-month free trial

Update components for subscriptions

- [Instructor] So we now have proof of life from our server with subscriptions, so next we'll start updating our code for clients so we can begin using subscriptions for adding new notes. Let's get to it. First thing I want you to do is reorganize our client a little bit. So open the folder crm and then go inside of client, and then src. And you can do this directly inside of your editor, but I prefer doing it with the folders like this when it's just moving files inside of a folder. So we'll create a src folder and then move all the components and the CSS files that are related to it inside of that source. So App.test, as well, Contacts, and let's just leave index outside of the src folder. And then just drag and drop them inside of our src folder. Alright, so that move obviously breaks our application, so we want to make sure we fix App and it works properly. So let's go ahead and inside of VS Code go inside of your client, and then src, and then go inside of App. And make sure that…

Contents