Placeholder Image

字幕列表 影片播放

  • everybody working a lot of coating with Jesse.

  • I'm Jessie.

  • Today.

  • We're going to try to turn our react project into a progressive live at.

  • I've just upgraded to next 7.0 point one, and that's probably the only change that's happened to this project since the last time I screamed.

  • Other than I did emerge a few pull requests.

  • I know some of you are getting those Octoberfest PR is in eso Thank you for everybody who's, uh, who's helped out on that and, yeah, what did I do?

  • Yes.

  • So I've been at the Reacts Advanced React training with Ryan Florence.

  • So I'm thinking I might make a video recap off what I learned there and put that on my YouTube channel.

  • So if anybody's interested in seeing that, you can check out my YouTube channel, the links.

  • In the description of this video, I'd like to get that done within the next day or two before I start to forget things and also want to thank everybody who has been helping out and sending the job openings.

  • I have three interviews coming up in the next two days and one phone call with a recruiter so a lot of lot of stuff happening, and I have two more interviews that are I need to be scheduled.

  • So there, like, most likely going to happen.

  • We just haven't set a date yet.

  • So as of right now that I'm thinking like five interviews will be happening in the month of October, I'm still waiting to hear back from a lot of a lot of companies.

  • So anyway, thanks again all your your advice and your links to jobs and things have been super helpful on.

  • I'll keep you updated as everything happens with that.

  • Okay, let's get started.

  • Me flip my screen here on if you're new, feel free to ask questions as we go along.

  • I'm gonna take breaks periodically and go back to a live chat and answer questions.

  • So just be patient with me and I will eventually get to your questions.

  • Okay.

  • So nothing to see right here for now.

  • Let me let me bring over that lighthouse audit and we can start from there.

  • So if you never use lighthouse, I'll give you a little overview.

  • So if you go into depth tools, let's make this bigger, much bigger.

  • Okay?

  • So if you open up deaf tools, which you could do by just, um I mean, there's multiple ways I guess you could get there.

  • There's a keyword shortcut.

  • I cannot remember what it is, but you could also just right click and go to inspect.

  • It will pop open these deaf tools and then up at the top.

  • If you click on audits, it would take you the audit page.

  • And you can run different artists for, like, sight speed, accessibility, search engine optimization, and you can also run one for a progressive Web.

  • So this is what I've just run and I got a 64.

  • It's not really a good score.

  • So Number one I'm not registering a service worker, and that's a big deal.

  • You need a service worker for a progressive Web.

  • So that's where we're gonna start, is making sure we get that service worker register first.

  • After that, then we can look at some of these these other issues about having the proper icons and things like that.

  • You could see some of the other stuff we actually have already.

  • I'm just going to show you this so that you all know what what's needed cross browser.

  • Right?

  • We have that.

  • Some of these are just basic that you usually do for site.

  • Anyway.

  • Uh, see, each page is Euro.

  • We do have some of the some content, even when job strips not available.

  • We have S S l three's https.

  • We redirect https.

  • We have fast, low times, even on a three g network thehe dress bar matches, brand colors.

  • That's interesting.

  • I didn't know that was That was the thing until just now.

  • So that's kind of cool.

  • We haven't met, have you?

  • Poor tang content this size directly for the view port eso All those things are check here in lighthouse for progressive.

  • With that, there's a lot of links to learn more as well.

  • So this is pretty helpful.

  • Is should tell us that.

  • Tell you everything you need to know.

  • Uh, let me.

  • Oh, the shortcut is control.

  • Shift I to bring this up, so thank you.

  • Uh, wow.

  • Water room are I'm sorry.

  • I'm mispronouncing your name.

  • But anyway, thank you so much for the shortcut.

  • And that's on Chrome.

  • I do want to say I see a lot of people saying Hi.

  • So I just want to say Hi, everybody.

  • I'm not gonna go individually since there's so many Let's get started.

  • And first, what I want to do is let's go back to our code.

  • And I'm doing this on a separate branch.

  • I made a separate branch to install the latest version of next in case it broke something.

  • This was not on, master.

  • And I'm just gonna keep going with all our change is on the same branch.

  • And then if we if everything works, we could merge it back in a master, hopefully at the end of the stream if we get it working.

  • Uh oh.

  • B O says we could use F 12 as well.

  • Okay, cool.

  • All right.

  • So let me bring over some documentation as well.

  • Here we go.

  • And I'm gonna pace the link to this.

  • So I just pasted this link in there so you can read this documentation too.

  • But I was doing a little research, and this seemed to work.

  • So there's been an open issue on the get a repo for next day s for at least a year, and the issue has been about offline support so that you could do progressive web itself.

  • So This was one of the latest entries, one of the latest posts on that long thread.

  • And it's supposed to generate a service worker that can help next to work off line.

  • And somebody else used tried it and it worked for them.

  • So I'm gonna try it as well.

  • So there it says down here that there's been some updates for next seven.

  • So that's what I thought.

  • You know what?

  • I better upgrade in next seven before.

  • So now that we've done that, let's install this Sue we need to do to get it working.

  • So this is next offline.

  • Okay, cool.

  • So let's go back here and they make us a bit bigger for everybody.

  • And we're using yarns were gonna do your ad next offline.

  • You could do this, of course, with NPM as well.

  • That shouldn't take very long to install.

  • Well, that's no one is saying, Let's look at the first step.

  • So we need a next up config dot Js, which I think we already have.

  • So it's double check that we have that we know we have a just config.

  • We don't have a next config.

  • I guess not.

  • Okay, so we're gonna have a next config.

  • Whoa!

  • Right.

  • Okay, It's what way, Rupe.

  • I'm pretty sure you told me how to pronounce that before.

  • I'm really sorry that I didn't remember what?

  • Ray wa way room.

  • I'm gonna try really hard to remember.

  • Okay, let's copy and paste this now on.

  • And hopefully this is finished.

  • Yep, it's finished.

  • And let's make you know, route here.

  • A new flower.

  • Call it next dot Config that Js well paced.

  • We just have here.

  • So we're requiring next off line and we're exporting next off or with offline.

  • Let's save that.

  • Go back over.

  • We already have a server dot Js file.

  • So we need to integrate this into our existing service Js.

  • So I don't think we'll be able to just copy and paste this.

  • Uh, let's see.

  • Option.

  • You can add your custom extras configuration is a parameter.

  • Okay, Let's see what we're doing here.

  • Uh, crease, see where they're actually adding in with off line.

  • Yeah, that's interesting.

  • I don't actually see them using this.

  • Anyway, the check out our server dot Js file and see if see what's there are 70 J s.

  • Why was unusually long and needs to be re factored, but we're not gonna do that today.

  • Check out what we're doing.

  • Okay, so we are checking for a service worker.

  • Okay.

  • Looks like we only have it in this.

  • Okay, so if it is, the route is service worker Dodge A s.

  • We are skipping a lot of our custom logic, which I believe that's what we ought to be doing on.

  • We're falling back on next.

  • I'm not 100% sure that's what we should be doing.

  • Say no schooling here.

  • I forgot we had this giant object at the bottom.

  • Okay, this is our cashing.

  • Um, see?

  • All right, since compare, sir.

  • Static, listen.

  • Okay, so we have this if path name is service worker trying to figure out where exactly we need to put this since you're staying after outsider status.

  • Okay, uh, I'm gonna look back just to see if anybody's commenting anything about this code.

  • Okay, You know what?

  • I forgot to start up my opponent or a timer, so I'm just gonna keep an eye on the time, so I know maybe in another, let's say 10 minutes, I'm gonna go back and answer some questions in the live chats.

  • Just hang in there for about 10 more minutes.

  • I'll set this timer for 10 minutes, so I'm thinking we may be able to take some of this.

  • I guess I should double check and make sure that everything still works before we take another step.

  • It looks like it works.

  • Um, okay.

  • Speak Suri of path.

  • Name was first funeral.

  • I don't think we're using the same names for somebody variable, so we need to find the equivalent.

  • Okay, so ap next Strict.

  • It's sick.

  • We don't need to do this right now.

  • Wait.

  • Let's comment these.

  • We left these in from a previous thing we were going to implement, and I never took him out.

  • So let's just comment these out for now.

  • Uh, next rib are nice, so hands next.

  • Okay, so ap should still be the same.

  • Sure.

  • Let's say all of this.

  • Let's just take this out.

  • Single.

  • The sales were stuff out, so I was already long enough.

  • Okay?

  • Realistically, I don't think I'm gonna be at this position long enough to even implement that, so I'm gonna take that out on if they want to put it back in its already and get up.

  • Okay, so where it should not get.

  • All right.

  • So this is all this custom logic that we've done.

  • But what we really need is what's getting just, like, passed on.

  • So at some point, we're just passing things onto next and saying OK, next.

  • You just handle this, uh, encouraged.

  • Okay.

  • Sure.

  • Watch.

  • Okay, so here was We have you are?

  • Oh, we're using.

  • That is the cash key.

  • Sorry.

  • I'm trying to figure out what all this is.

  • We made this so so long ago.

  • Catch handle APP.

  • Request kid requested hand.

  • Okay, now, let's put in try to put some of this in here.

  • Oops.

  • I mean to take that.

  • She rid of that?

  • Okay, I'm hoping that's what I need is a joint is not defined.

  • And Parsons not to find.

  • Okay, let's see what we forgot.

  • Area.

  • Uh, all right, he's in.

  • See if that fixes everything in weird errors.

  • No, no.

  • Weird ares.

  • I'm getting a new warning.

  • When I upgraded that, we shouldn't have title tag in document dot Js.

  • So I'm not sure where we're supposed to put it, but I guess that's not It's no.

  • Now they're struggle warning before they weren't.

  • Okay, let's check our page here.

  • See?

  • Free off.

  • I'm gonna go to a local host to check this and just click around.

  • Okay?

  • It works.

  • Try some other pass.

  • Okay, But, um all right, that works.

  • Let's check in the console to see forgetting errors.

  • Okay?

  • We're getting some extra stuff here about service worker, so we should be able to check out our service workers here on DSI.

  • Okay, sir.

  • For local hose tested push measure.

  • Oh, yes.

  • We have something going on here with service worker s O to test this.

  • Let's put in woods.

  • I shall remember the command for this G cloud.

  • Yeah, groups.

  • You know what?

  • I have this in my pack is Jason.

  • So let's check out the package.

  • Jason, you know that right now.

  • Oh, that's package.

  • Jason, we have tested ploy.

  • Yeah, let's do test deployed.

  • So that way we'll deploy to Google app engine and we'll get a test you, Earl, but it won't push to arm a neuro s o.

  • The reason we want to do this is because or when we're running this on local host, we're not going to get a true uh, progressive web experience, right?

  • The service worker is not gonna work as a CZ.

  • We wanted to.

  • So let's do yarn, physical test, deploy check the time.

  • Okay, So while this deploys, I'm gonna start answering some questions and let's go five minutes of answering questions and accidentally started a video.

  • So at some point, I'm gonna have to hit the enter key.

  • But other than that, that should just do its thing.

  • Okay, I'm scrolling all the way up to the top.

  • I'm gonna just go through as many questions as I can.

  • I doubt I'll be able to get through all of them in this five minutes so the rest will have to wait until the next break.

  • Actually, a lot of messages were just telling me I have no sound beginning.

  • Let's go through those, uh and, uh, see, and about the other half the messages or people just saying that it works.

  • Now the audio works.

  • Okay.

  • Uh, Abraham says hello.

  • Can you hear me?

  • I'm in California dreaming about who we used to bay.

  • Thank you for that.

  • That was nice.

  • Um, reran says please teach me about programming.

  • Yeah, if you have questions like any specific questions.

  • Please let me know.

  • I'm happy to answer them.

  • Yasmin says I can't understand.

  • Please.

  • Clear and brief.

  • Yeah, I'll do my best to explain what I'm doing as I'm doing it And feel free to ask any questions that you have.

  • And I'll do my best to answer those.

  • Pink says what this guy does is pretty advanced.

  • In my opinion, um, I mean, advances relative.

  • Right?

  • So, um, to a beginner, this might seem advance to somebody who's been doing it for a while.

  • This might not.

  • So and we are all over the place, so sometimes we do really basic stuff, and sometimes we do advanced stuff.

  • Israel says I'm new to programming, and this seems huge.

  • Yeah.

  • This project we've been working on since late December.

  • January.

  • I saw it.

  • It has a lot to it, you know, But it's to be expected to be working on for a long time.

  • Uh, Shang says hello, Jesse.

  • Good to see you again.

  • It's good to see you too.

  • Thanks for joining us.

  • Um, lambs text says Pomodoro timer.

  • Yes.

  • Using a Pomodoro timer.

  • Okay.

  • Hard.

  • Should saying, um good to see you.

  • Are sure glad you're here.

  • Uh, but the harsh it's saying Don't directly copy that code.

  • It was meant for vanilla note instead, you instead you served, I get You're using his crest there.

  • Sorry.

  • Israel says I need to interactive.

  • What's that?

  • Coaching lessons, too.

  • Please.

  • Uh, I really don't do any interactive coaching lessons.

  • Maybe I should think about doing something like that.

  • Okay.

  • All right.

  • Harsh.

  • It's put in some code here for me to you, So I'm gonna as soon as the timer's up, I'm gonna check that out.

  • Jay says 243 lines.

  • Biggest code I ever wrote was 80 line, so I haven't even started to code from the look of it.

  • Yeah, uh, we have a lot of We have a lot of code.

  • We've been working on it for a long time, so don't be discouraged.

  • Um, somebody just asked what a Web.

  • Okay, Drew Asked what a web at manifest is.

  • It's just a set of instructions to tell, I guess.

  • Like the phone.

  • But what logo?

  • To use What title?

  • To use What splash screen.

  • What colors to use when you are loading a progressive web app on a phone.

  • Good.

  • Harshest.

  • Says next offline.

  • Automatically generate service worker and proud.

  • I see.

  • Okay, that was in response to Michael.

  • Creo Michael had said you might want to make the service worker jazz file first and harsh it, saying it automatically generates it.

  • Yeah, so it'll we shouldn't have to do it ourselves.

  • Uh, x t s.

  • How old are you?

  • I am 32 I will be 33 at the end of this month.

  • Okay, So I'm gonna go back to the code and remember to start my timer this time.

  • So in 25 minutes, I'll go back to the chat.

  • We should have a euro.

  • I guess not.

  • We should soon have a euro, but I'm gonna go back and check.

  • Based on what?

  • What Harsh it was was putting in the chat and check and see how badly I may have messed this up.

  • Cincy server gets there was working, so we get it.

  • Oh, you know what actually descended up working.

  • So since I didn't copy and paste the whole thing, I ended up putting it inside a server.

  • Get anywhere?

  • Um, so it's a little bit different.

  • So what?

  • Harsh it was saying is just get that service worker Js and instead this is getting everything, um, that has been passed through which our service worker Js should be passed through.

  • Since we're passing it through up above, um, Susan's that's gonna pass through instead of checking for it here.

  • We just check for it down here, right, Because our path name is our parts Euro are parts.

  • Euro is just the, um, the girl that would have we would have been able to get through here, So this should be the same thing.

  • Our she let me know if it's not, but I believe it.

  • It will end up if the same result.

  • Okay, let's see.

  • Here's a euro and what we do in this your old loads for a test site and up.

  • I'll paste it in here so y'all can check it out if you want.

  • When it blows, I'm gonna do another lighthouse audit and let's see if anything has changed in regard to the service worker or my office.

  • All right, so you can do all these audits, But since we're just testing progressive weapon, it'll take a lot less time.

  • If we only check for this, But you can check from all that once.

  • If you want.

  • We're gonna run those eyes on what we're waiting out.

  • Check the live chat.

  • Hambro says I'm 17 and dropped out.

  • What should I do?

  • Well, if you're interested in in programming, learn as much as you can about programming.

  • Try to get some freelance jobs, maybe with some small businesses, and build up your your portfolio and learn as much as you can on your own.

  • Like take the freak.

  • Oh, can't lessons and you can still get a good job.

  • You could make good money from doing work like that, Shang says The other day, I was trying to set up express Js as well as browser sink.

  • Does it make sense to do both?

  • I'm trying to make a site that uses express jazz at the back end yet, uh, express, yes.

  • Would be good for the back end, but browser sink.

  • Hey, cool.

  • We passed sweet.

  • So, um, we do register service worker.

  • Where your spawn with the 201 off line.

  • Awesome.

  • So now we just need some icons and a splash screen.

  • Cool.

  • Um, I guess I'll finish answering this.

  • Since I started already.

  • So as far as I know and correct me if I'm wrong, anyone that is more familiar with this but browser sink is going to allow you to get like auto refresh and see what's happening as you update things when you're in local Development, Express is gonna actually run your back.

  • And, like even in production, it's It's gonna be the server, right?

  • So you can you should be able to do both.

  • I don't know that I've ever used Browser Sync with Express.

  • I mean, usually it's I used express in the context of react and all that stuff's already configured because I'm either using next from using, create react at, by the way, create react at 2.0 is out.

  • So if anybody's used that and once a let us know how it is that I'd be really interested to hear that actually can't wait to use it on the next a project that I do.

  • All right, So let's try this out.

  • So we need these icons.

  • Let's see what I cause we already have because we do have a manifest.

  • Jason already Where'd my coat ago?

  • Whom?

  • Although every Okay, so Let's check out our manifest Jason, which I have up here.

  • Okay, so we have a short name, a name?

  • We have some icons, but not all the right size icons.

  • So let's see what we need.

  • Okay, We need icons.

  • At least 192 pixels and at least 512 pixels.

  • So let's add this in for now and see color background.

  • Okay, so we have all we need there.

  • Let's try to make some images.

  • What if there's an automatic generator?

  • Let's say, um, wrestle about icon generator.

  • Sweet.

  • I knew it had to be out there somewhere.

  • Right?

  • So we'll choose a file.

  • Great.

  • And get all these files.

  • There's gotta be a logo.

  • See, I have a little file.

  • No, I don't want Let's check in downloads.

  • Good.

  • See, I have a little in here already.

  • Right.

  • Fabric on What is that?

  • Okay.

  • This will actually work.

  • Yeah, That'll work.

  • Issues that desktop.

  • Hey.

  • All right.

  • It's not really that big enough.

  • We'll see how this goes.

  • I need to find a bigger image.

  • Yeah.

  • So you're a padding?

  • Um, All right.

  • Let's see what happens.

  • You know what?

  • What?

  • I have the box checked for Windows phone.

  • Does anybody have a Windows phone?

  • Oh, hey.

  • Or should, um, thanks for stopping for joining and stopping in for a little bit.

  • I appreciate it.

  • So see you next time.

  • It's late.

  • What happened?

  • It's not spending any more, Which is having.

  • Mmm.

  • Oh, yeah.

  • Evidently, that is not working.

  • Well, let's try another one.

  • Because they're a bunch on the list.

  • Two.

  • Hey, Cool.

  • All right, so check out these abs images.

  • All right?

  • Cool.

  • I think we have all the sizes we need.

  • I'm gonna see if I can just drag him over here to our static files.

  • Put him right here.

  • Maybe in our images folder.

  • Okay.

  • Would not let me copy and paste them a teabag.

  • A dragon?

  • All right, cool.

  • So you have all these icons now?

  • Let's see if he gave us it did not something it would automatically give us what we needed.

  • Okay, That's all right.

  • We'll be able to put this in here.

  • It's good or manifest, Jason, and just switch this up.

  • I'll leave these.

  • And then let's just add in these sizes, which were what everyone's they said we need.

  • So we need at least 1 92 So here we have a 1 92 and that is static image icon 1 92 92 See, uh, father copy everything.

  • Don't need everything.

  • Okay, You have that, And then this one will be our 5 12 on copy.

  • This book's mean, copy.

  • The past.

  • That end, you're out of this.

  • Okay, Wonderful.

  • All right.

  • I'll leave the rest of the sizes in here just for now.

  • Case you wanna add those in, but otherwise, pretty good idea just to clean him up.

  • You know, overall, you're there's left size to the what gets uploaded the server.

  • Okay, that was good to make sure that was it.

  • 1 55 12 and 1 92 Let's see, there was a manual.

  • Checks are pay traditions don't feel like network.

  • He Traci, you're okay.

  • That shouldn't you.

  • All right.

  • So let's run this again.

  • We're gonna run this, and I'm gonna answer some questions while that runs shake my timer and, uh, bogus.

  • We'll give it a check, will run our lighthouse again.

  • And then the final tests will be, uh I will actually try to load it on my phone, and you all can do the same to cause all coffee and paste the euro.

  • Hey, that was fast, folks.

  • You know what?

  • That's I need to stop my I need to stop my local server before I do that, because it could mess up the bill, so we're gonna run that again.

  • But anyway, I'll give you your oh, you're contested out on your devices and see if it actually works.

  • And so if it works in lighthouse and it actually works on a device that I'd say mission accomplished, um, the Web says, Hey, Jesse, I am a beginner in react.

  • Should I take any paid courses?

  • You could.

  • It depends on your finances, right?

  • If if you can handle paying for course, then there are some good courses.

  • The udacity react nano degree is really nice because you have people that it will review your coat for you and let you know what you need to do to make it past or to make it better.

  • So that's very valuable.

  • There's also, like I just went to an advanced react training from Ryan Florence, and that was also helpful as well.

  • But you don't need to.

  • Most of my react training has been free videos, tutorials and just reading documentation.

  • So it kind of depends on how much money you have and what you're learning.

  • Style is.

  • Some people do a lot better if they're in a classroom setting with somebody talking to other people.

  • Do better, just kind of learning on their own and all different types.

  • So that's more like a question that's going to depend on on you personally.

  • Uh, the Web says.

  • What's the top state manager for react Re Ducks for a long time was the answer to that question.

  • But now, like Apollo has State management built 10.

  • If you're using graphic, you, well, that's a good choice.

  • There's the context, a P I that's built in to react now that can help you.

  • Estate management.

  • Ma Becks is also good, so there's a lot more options now than there used to be.

  • Uh, the follow up to that was which one is difficult context?

  • FBI reduction?

  • Ma.

  • Becks Of the three, I would say reduction is harder to learn, but it's potentially the most powerful S O.

  • If you had a very large application that needed the power of reduction, then it might be worth it, But if you have something smaller, just use the built in context a p I.

  • And, you know, try out Ma, Becks, and see if you like that too.

  • It's also a good choice.

  • All right, let's test this out on.

  • I'm gonna copy and paste this in here for you.

  • Ah, okay, So the link is now there, and let's try out our lighthouse audited Shut a con.

  • So who?

  • No areas in the console?

  • That's awesome.

  • Run the audit and on answers and questions.

  • Where that's running manuals is what's the best way to save my data from my database to my service worker, Um, we maybe not right to your service worker, but you could certainly use local storage and the browser.

  • If you had a lot of data to work with, you might want to use something like, uh, pouch D B s O.

  • If you're familiar with couch TB pouches like the browser equivalent of that and they can sink together in real time.

  • So, you know, maybe check that out.

  • There may be some other options out there, but that's what I would go to first view obsessed, you know, back in programming.

  • I do know some back end, mostly with note eso We do like that old server Js virally.

  • That's that's back and stuff, Anthony says.

  • What do you mean?

  • My progressive s o the term progressive Web app eyes specifically a term that it's a Web app that can work off line and then progressively enhances so more and more features will become available as you have a better network connection s.

  • So that's because it's progressive.

  • Enhancement is we get the way progressive from so the basic things that you're out canoe should be ableto be available offline when there's no connection, and then you the full range of features could be available.

  • When you actually have a good connection, let me know if that makes sense.

  • Well, he says, Hi.

  • Hey, how's it going?

  • Harsh, it says.

  • So I asked our shit earlier if the way I did it would work.

  • And he said, Yeah, that's that's not the expressway Jazz way of doing it, But it works, all right?

  • We'll do.

  • I very much of a believer and like when you first approached a problem, make it work first, then go back and do it.

  • Do it right?

  • Right.

  • So, uh, we'll make this work, and then we can always do it right later.

  • Feel free to submit a pool request if it really bothers any of you and you want it to be done, right?

  • Uh, that's that's cool.

  • Cool said this past.

  • So now let me try.

  • I really don't want to take that out on my phone.

  • I hope auto complete handles this.

  • If it doesn't, then I'm gonna, like, share this link with myself and so I can click it so two to go.

  • Hey, I think I think it did.

  • Auto complete.

  • Uh, no, it was the earlier version, not the vision.

  • I want two 18 Sure, Maccabee.

  • And taste this.

  • I'm a share with myself with you will keep.

  • Is that syncs up really fast?

  • Let me know if any of you have any luck getting this a run locally.

  • I'm interested to see how much of it is actually available offline.

  • So I'll probably put my phone in airplane mode after I load it and see, See what we can.

  • D'oh!

  • I didn't think about this.

  • What already pasted this into the chat?

  • I could have gone to YouTube instead of going to keep on my phone.

  • Oh, spoken this Crume eso We should share my screen now what should happen?

  • And maybe I would have had to have done something else to get this to work.

  • But it should prompt me, at some point too low this as a progressive web.

  • But I can't remember what point that's supposed to happen.

  • Or if I need to do something else to make that happen.

  • If anybody knows, let me know.

  • Okay, so it hasn't prompted me yet.

  • So I'm gonna manually do this.

  • So I'm just gonna go in and chrome on someone, an android phone.

  • Um, and in chrome, I can go to the menu and there's an option.

  • This is add to home screen.

  • So I'm going to do that option at the home screen, and let's find it.

  • So it is now on my home screen.

  • You should be able to click that and pop up.

  • Now, here's just the test.

  • Let's put the phone in airplane mode.

  • All right, so my phone is now on airplane mode.

  • I'm gonna completely exit out off.

  • What happened?

  • I'm gonna go back in and see if it still works.

  • All right, so some stuff still works.

  • So the YouTube videos obviously don't load, which that that makes a lot of sense.

  • But I can still, like, click on the tabs.

  • So I assure you, like what I'm seeing.

  • So this youtube videos doesn't work, but these tabs still work.

  • The data is still there for the home page.

  • The images are still there.

  • Should these images are there, but that then he's formatted differently.

  • Uh, all right, so that works.

  • Now.

  • I'm going to try the menu.

  • Menu works.

  • Now, What I'm not sure about is when I click one of these is anything gonna happen?

  • I'm gonna guess and say nothing's gonna happen, but let's see.

  • Okay, Yeah.

  • I get an error that says it failed to fetch.

  • Okay, but here's what I'm gonna do.

  • Um, I'm gonna take this out of the airplane mode, and then I'm gonna try it.

  • If you go to a few pages, then I'll put it back on airplane mode, and I want to see if it if it will actually load then.

  • So you know what I want to see is will it save these pages?

  • Okay, so I've loaded three stages.

  • Now I'm gonna put it back on airplane mode.

  • So I'm sorry if this is really boring for York, you can't see it, but I just I don't have anything set up right now.

  • Thio, share this.

  • Okay, so I'm one airplane mode now I'm gonna go back to the home page and try to navigate again to the pages that I just went thio.

  • Interesting.

  • Okay, so one page did save, but the other ones didn't.

  • That's kind of weird, huh?

  • Okay, so I'm not a hunter.

  • I have an idea why it did that, But I'm not 100% sure.

  • So the only difference I could see is when I put this on airplane mode and I try to visit a page that used the length tag without the I believe without the pre fetching somehow it worked like it.

  • Cash that.

  • But menu.

  • Let's get back to the code.

  • I'll show you in the coat room talking about I remember in my mind.

  • But I'm sure it won't make sense to you unless I could show you.

  • So in the drawer menu, you could see we we have this link Euro And then we put this as euro in a swell, but in our index.

  • So these are the ones that didn't I didn't save it, didn't work offline, even when we had loaded them online first.

  • But Paige is this.

  • But these ones did work.

  • Where do we have index tab section?

  • You got a tab section component.

  • So in our tab section, we actually have one.

  • I didn't using the link that we're just using a regular length.

  • So when I say the link tag, I mean, it comes specifically with next Js and allows you to do pre fetching.

  • So these ones stayed cashed, but the other ones didn't.

  • So I don't I'm not exactly sure what's going on there, but the home page still works off line, and we at least some pages still work off line.

  • Eso I'd say, like I'm not 100% satisfied with that, but we have, like, very basic progressive without functionality, so I wouldn't expect every piece of content to be available because that's just way too much.

  • I wouldn't wantto you load up all that stuff on somebody's phone and have it saved because they probably won't need it all, but there may be some basic content that always should be available.

  • So maybe I have to figure out how to do that.

  • If that's possible to just say I want certain pages always be available.

  • Uh, I'm not sure how to do that, but I assume it's possible.

  • So that'll probably the next step for me.

  • If I want to continue on with this.

  • I'm not sure how much value there isn't it.

  • Right now, I was far as I know.

  • No one is really attempted to use the site like this yet.

  • So if I can get some analytics our data to show that this is a feature that is being used, then it might justify me going in and trying to make it it even better experience.

  • But in any case, you know, we were so close to making it work.

  • I thought it was worthwhile to just do that little bit extra toe.

  • Have this work a za progressive web.

  • So I'm gonna go back and answer the remaining questions now.

  • So if anybody is watching and you have any questions about anything at all, please feel free to ask him right now.

  • Oh, answer as many as I can.

  • And just to let you know, I may do a live stream on my YouTube channel.

  • The links in the description, uh, either today or soon I'd liketo livestream my studying for the Google interview that I will have some what time at the end of this month.

  • So I'll probably do algorithm challenges, and I'll talk through it as if I was in a real interview.

  • So try to explain myself, explain possible solutions, and then you all can ask questions.

  • And then once I finished the algorithm, I I'll go and answer your questions.

  • I think that will help me to study.

  • And maybe it'll help you all too.

  • Uh, see what kind of things you should be studying for, For technical interviews as well.

  • So if you think you'd be in string that you if you subscribe to my channel, turn on notifications, you should get notified of that.

  • And I like I'd also like to put out a pre recorded video of a review of the advanced react training that I did last week.

  • Okay, I'm not sure where I left off, so let me screw up and see where I left off here.

  • Okay, I found it.

  • Antonio says hi.

  • I'm new here.

  • I don't know any programming language.

  • Where should I start?

  • It depends on what you want to do, but job escapes.

  • Not a bad place to start.

  • It runs in the browser.

  • You don't need any special thing to download on your computer on.

  • And there's a lot of you beginner friendly tutorials.

  • You could try freak out cam dot ord.

  • Start out with their basics and you see if you like it.

  • If you have something specifically in mind that you would like to do than another programming language might be good for you.

  • If you're in a machine learning maybe you want to go in a python if you're really into, um, it slipped my mind into, like, WordPress development.

  • PHP might not be a bad idea, right?

  • So it just really depends on what you're into.

  • But if you have no idea job skips not a bad, bad place to start.

  • You can use it on the client and server side.

  • Very versatile.

  • Uh V.

  • Webb says which one is better a boon to or Mac.

  • I've only used to going to on a server, So I haven't used, like, a desktop version of it, So I can't really compare.

  • I will say, in terms of servers, I I would definitely prefer to use a new boom to server than a Mac server.

  • I mean, does anybody use Max servers for anything?

  • I know?

  • There they were a thing.

  • I don't even know if they're used anymore.

  • Has anybody used the boon to Is it for a desktop and can share?

  • What would you think about it as compared to a Mac?

  • Nabil says hello from Algeria.

  • Hey, how's it going?

  • Thanks for watching.

  • Hossam says I'm also from Algeria.

  • Cool to people from Algeria.

  • Awesome.

  • Um, this, uh, this Abou says, What is the frequency of light coating with Jesse?

  • It used to be I tried to do every day now, Uh, not every day.

  • So I tried for like, a least once or twice a week.

  • Things have been different.

  • So if you want to know what's going on with my work situation right now, what's the last dream?

  • The beginning of the last dream and I explain it all.

  • But things have just been really different here recently.

  • So that's been a lot of the reason why I'm my coding has been not as steady.

  • Um, so just just check it out if you're if you're interested.

  • Blessing says I'm a beginner.

  • So should I start with job, script or Python?

  • I I'm gonna answer the same way.

  • Answer the last question about this.

  • It really depends on what you want to do.

  • Job, script and python, in my opinion, are both very easy to get into Python.

  • Maybe even easier because of the fact that the syntax is really easy to pick up.

  • And, you know, there's not a whole lot of special characters.

  • Uh, but if you want to do Web development, then definitely learn job.

  • If you're not sure, then maybe get placed on a try.

  • It touched.

  • He says Hi.

  • Hey, how's it going?

  • Obvious is love from India.

  • Thank you.

  • Some says, um, I really love how simple Python is simple and powerful.

  • Yeah.

  • I mean, you gotta love the python syntax, right?

  • It just looks so clean.

  • It is really fun.

  • Oh, John says since you're on a Mac, if you have an iPhone, you can copy on your Mac and paste from your iPhone if you have continuity enabled.

  • Wow, I don't have an iPhone, but that is really cool.

  • I did not know you could do that.

  • My wife has an iPhone and a Mac.

  • I'm gonna tell her about that and see if she's ever used it.

  • I have a feeling I'm gonna tell her about that.

  • And she's gonna say like, Oh, you didn't know that.

  • I've been using that for years, but I think that's really cool.

  • I'm not going to switch you an iPhone.

  • I like my Andrey, but that's that's pretty awesome.

  • Manual says you need to set up the service workers so it can lower the pages.

  • You You can add pages service worker there once you want.

  • Oh, cool.

  • You know what?

  • I never scroll down and read the rest of this.

  • I bet you there.

  • Yeah, There are options.

  • Mmm.

  • Yeah, I'll have to check that out.

  • Maybe later.

  • But it's it's possible that their options for that here that I just didn't read about, uh, the web says, What is the build system that you use for production?

  • Bill react up?

  • Um I mean, next.

  • Yes.

  • Has its own custom.

  • Where pack and fig and it handles all the build.

  • And then I send it to Google Cloud Platform, and it runs on their app engine.

  • The website's Do you?

  • No, no, J s.

  • Yes.

  • I do know we do a lot of custom routing, like form handling, file uploads, things like that.

  • With note making, like a p.

  • I close in the background, the Websters where the best web technologies to learn right now, that really depends on your goal.

  • If your goal is to be completely on the cutting edge, like doing cool stuff, then you know, maybe you wanna work with, um, like, Webb assembly and doing like, Web V R stuff or really, what else?

  • There is help there.

  • I mean, there's a really cutting as crazy stuff you can do on the web if you want to get a job there.

  • A ton of react jobs out there right now.

  • Uh, so I mean, it just it really depends on what you want.

  • I mean, if you're gonna be on the web, you need html CSS and job script for short.

  • You can't go wrong with that.

  • They're not going anywhere anytime soon.

  • They've been around, you know, almost since the beginning of the Web.

  • So go with those.

  • And if you're a beginner, that should keep you busy for a while, trying to learn those of master that beyond that, if you're looking at frameworks, there's still a lot of jobs with angular.

  • There's There's definitely a lot of jobs with react.

  • I'm not sure how many jobs there are with you, but View is pretty popular, at least among developers.

  • Uh, and then there's the older frameworks that they're still jobs for them.

  • You know, they're not really growing anymore, but things like Ember, you know, they're they're still jobs for that nexus.

  • Comm peach p build progressive Web app for only JavaScript.

  • Well, the key to a progressive Web app is that service worker, which is a job, a script thing because it runs client side so you could have the back end be PHP.

  • But you would still need to have that job a script service worker.

  • So I personally have never seen a PHP progressive with that, but I've also never looked for one, so they maybe they're out there, V.

  • Webb says.

  • What are the best course is to take in you to me to learn.

  • React?

  • I don't know.

  • I've never done a U to me react course, So I can't.

  • I can't help you with that.

  • But if anybody has a really good one, please let us know.

  • I mean, I'd be interested in it as well.

  • Sergei says his pH be still alive.

  • It is still alive.

  • I mean, there are evidently Laura.

  • Both is a PhD framework that's getting a lot of like modern updates.

  • I heard on a podcast recently.

  • WordPress is still like most of the Internet on that runs on GHB, so it's definitely still alive.

  • So while Ray Rue, I think I pronounce that right this time, says, uh, when should one use react, native or native?

  • Code over.

  • Press a Web?

  • Um, if your site if you have a website in or a Web app and your main audience is d

everybody working a lot of coating with Jesse.

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

A2 初級

創建一個漸進式的Web應用程序清單(P5D100)-------------------------Jesse現場編碼 (Creating a Progressive Web App Manifest (P5D100) - Live Coding with Jesse)

  • 2 0
    林宜悉 發佈於 2021 年 01 月 14 日
影片單字