I was confused at first when you guys came in but I decided to wait and see how it goes. Honestly, I am glad I did not leave. I speak for myself but I love how you are doing this in the real world kinda way. Making mistakes, and finding solutions plus giving very valuable advice that most might take for granted. Like test driven development or testing out your code before or after is a very valuable trait. I am honestly committed to the channel and what you two are doing. I love the background music by the way, very relaxing and weirdly triggers my thinking..Good job you two.
@sebastianhewelt21976 жыл бұрын
This is e x a c t l y why I like you guys too!
@DarkZoneGamingMain6 жыл бұрын
Absolutely fantastic episode. You guys should keep making these long kids where you code together, it really helps us learn how people work together and engineers figuring stuff out and also very nice to watch besides the learning. Thanks so much for this you guys rock
@wilhelm.reeves4 жыл бұрын
You guys are so fun 💜 Love your channel 👍 ✌ ✨
@mtheoryx836 жыл бұрын
I think a great part of this is the extra effort at the end to do a retrospective. So many times people (including myself) do a thing, then just move right onto the next thing. Taking some time for reflection is how improvements happen, and you two showed how it can be done very respectfully. We can all learn a great deal from that.
@AdityaFingerstyle5 жыл бұрын
33:44 I found it really shocking that MPJ didn't know what a static function was. Great video though 👌
@richie-bonilla6 жыл бұрын
Great episode. I love that the edit is not polished to the point of being sterilized. Watching how you reason about things or use a bit of tooling is very helpful. It helps me, as a self-taught dev, know that the way I do certain in-between things is not inefficient/unusual.
@davidluhr6 жыл бұрын
Really enjoying the learning content of the series. It may be helpful to provide an overall plan of what you are working on and planning for the future. For example, right now, is there a specific MVP you are working towards, or are you still exploring and learning potential technologies to use? At what point are you going to define the business in terms of it's services and revenue, or begin designing what the website will look and do? Starting each episode with a quick recap of what you're trying to accomplish at this stage would be really useful. Thanks for putting these videos together!
@BrianDriesenga6 жыл бұрын
Learning tons! Thanks for talking this all through....good to have a deeper understanding.
@douglosu6 жыл бұрын
As someone who has been in the industry a long time, this code review was so representative of what it is really like in a lot of places, even the beginning part, it almost gave me code review PTSD.
@FurbnMax3 жыл бұрын
haha well said
@max-mr5xf6 жыл бұрын
On *NIX and OSX console.error doesn't only print red but uses stderr instead of stdout. So error messages can be handled seperately, also redirected, while being displayed in your terminal by default.
@DanKaschel2 жыл бұрын
Windows as well.
@samwemyss50026 жыл бұрын
First video I have fully watched since David and MPJ took over. And to be honest it was actually quite informative if not a little slow / roundabout (nothing 2x speed can't fix). I really liked the comment from MPJ on speculative code and how that isn't very useful for the team/yourself later on. Keep it up! Keen to see you guys improve and learn from different perspectives
@gamberril5 жыл бұрын
Very interesting !
@JonPreece6 жыл бұрын
You guys really need to install, and use, prettier. You're always manually formatting your code. I've been using Prettier for some time now and its so cool I never have to worry about formatting my code ever again
@DanKaschel2 жыл бұрын
I don't like formatting tools. They fight me when we disagree on how something should look.
@Ahmad-ww4ue2 жыл бұрын
prettier is a life saver.
@AbhishekKumar-mq1tt6 жыл бұрын
Thank u for this awesome video and series
@t3rman16 жыл бұрын
Another fun tutorial :) You can map the docs property of snapshot. I could see that was annoying mpj :) This line should do it. return snapshot.docs.map( doc => ({id: doc.id,...doc.data() }) )
@TheSldsnake6 жыл бұрын
Amazing episode pls more !!
@Hasel32CH6 жыл бұрын
MPJ you win the award for coolest shirt! 😀
@Joshca46 жыл бұрын
i like this kind of videos, more of this please!
@peterthefoxx6 жыл бұрын
Hey nice series, really helped me progress with nextjs however I've encountered a security issue with the database setup used and it's probably worth people knowing that they shouldn't use this in a real application. Nextjs shares everything with the client, all your env values will be visible on the client side! - You can see this in chrome dev tools if you search for one of your ENV variable names from the sources tab then you see it's publicly visible. Not sure of a fix yet other than having to make a separate api that nextjs can talk to.
@thearchibaldtuttle6 жыл бұрын
I have no idea what you are doing but the life share feature is awesome!
@ericellison24136 жыл бұрын
2:38 => Read/write so that you can destroy my system ...... mpj is the jimmy kimmel of coding ..... love that dude ...
@RobertBMenke6 жыл бұрын
Pair programming > code review. Well said.
@t3rman16 жыл бұрын
Good luck with your new business :)
@ksuhavoloshuk26445 жыл бұрын
Thanks for this episode, it was really helpful to understand more the code review process in practice. Our team is using Review Assistant since it integrates with Visual Studio, and it suits us fine. But could you please recommend some plugins for code formatting?
@cristianrosescu29146 жыл бұрын
I think I have a better understanding of await and promises and when await can/not be used. An episode with examples on when to use or not to use async/await would be great.
@OfficialDevTips6 жыл бұрын
Check out this episode (and comments) on Fun Fun Function: kzbin.info/www/bejne/nqCYgaF4hNSUmdk
@spotted7566 жыл бұрын
Hello, I would have created a promise that returns null or undefiend and used setTimeout to simulate a delay for example in order to test that catch thing.
@SuprunAlexey6 жыл бұрын
Interesting
@robertbrogers36 жыл бұрын
I'm confused as to how the getInitialProps is used. It's returning a promise as well with the .then returning an object. Does the calling code use async and await to use the values 'returned' from the promise?
@mellet896 жыл бұрын
When the "page component" is run on server side in next js, it will call the getInitialProps function on your component first. Wait for the result(doesnt matter if the calling code is using then or await, it's just a implementation detail) of the function and inject it as a prop to the component before returning the response to the web browser :) If you want to dive down deep you can check out the source code of the App(root componet) of nextjs and what it does here: github.com/zeit/next.js/blob/canary/lib/app.js
@robertbrogers36 жыл бұрын
thanks
@mrmagicrapattack6 жыл бұрын
Go map that snapshot! stackoverflow.com/questions/46614055/map-items-of-collection-snapshot-in-firebase-firestore
@slimhmidi63986 жыл бұрын
Very very interesting episode
@BirkirRGujonsson6 жыл бұрын
Instead of the forEach you could simply return a map, removing the result array, push etc.
@rexli20176 жыл бұрын
Huge support
@iRedee6 жыл бұрын
Would love to see more of this code review concept. But suggest there be more comment should be written when writing the code in the first place. Both help to code review and so that people can follow along easier...
@sholomaber6 жыл бұрын
During the retrospective you mentioned how pair programming is superior to code review. Does that mean code review is not required if the code was written in the pair programming method?
@OfficialDevTips6 жыл бұрын
Correct. It becomes reviewed as it is being done. Also it removes a lot of downtime for someone to get up to speed with the code. All in all it can be more effective then one doing coding, and someone else later having to figure out intent and correcting bugs.
@vamseetelugupriest5 жыл бұрын
Code vs agile manifesto must be compared.
@sreekumarmenon6 жыл бұрын
fyi, "next start" is to be run after running . "next build"
@spotted7566 жыл бұрын
Could you explain why 404 does not throw an error when using Promises but it does when you use async await? repl.it/@Deviad/Maybe-Data-structure Thank you. Anyways, the one in the video is a typical situation when Typescript and Flow can save you lots of time.
@sdelvalle576 жыл бұрын
How about hosting it on firebase?
@mellet896 жыл бұрын
You can check out this example to see how to host a nextjs app on firebase: github.com/zeit/next.js/tree/canary/examples/with-firebase-hosting
@sivuyilemagutywa52866 жыл бұрын
thank you
@puyanwei6 жыл бұрын
Nice relaxing music... sometimes coding is not that relaxing lol :D
@JuhoLehtinenLehtuska6 жыл бұрын
I think you could use querySnapshot.docs.map
@rafaklimek65276 жыл бұрын
that's magic for me xd
@UniBreakfast5 жыл бұрын
Music is too loud I would say.(
@dealerpriest6 жыл бұрын
Why you still use react and next? I find vue and nuxt to be a much more smooth experience! Try it out, gör det bara👍👍
@rohitkrishnan54566 жыл бұрын
Can you define this smooth experience?
@rohitkrishnan54566 жыл бұрын
I personally use react because it's less abstracted
@mojar26806 жыл бұрын
You are not growing inside the devtips channel, you guys are great. But you should create your own fanbase / yt channel for actual exposure
We should have a poll. At which episode will there be a functioning website? (... #50?) At which episode do we have some sort of revenue? 😅
@mr.anandpande6 жыл бұрын
DevTips The final episode have to be in between #20 to #25 (for some kind of revenue) ..... otherwise it becomes lengthy 🙃
@krishnaidamakanti16446 жыл бұрын
Thank you.. myfavs.in
@QWEEKEN736 жыл бұрын
Great insight. I am working on a meal prep app (keyword working). I have the functionality pretty much finished for the front-end. From the user's side, it lets you pin point what person you'd like to order meals from, requests info on what meals they are offering (currently static JSON), and then renders the items as product cards on the screen for you to then choose and purchase. This is my first full-fledged project. If you get a chance, could you please take a look and see if I'm heading in the right direction. - github.com/SenseiCain/meal-prep-app Thank you!
@eddiejaoude6 жыл бұрын
Windows tshirt 😱 ... duuuuude 😔. Linux 😉🤓💪😜
@OfficialDevTips6 жыл бұрын
It's too bad that I don't show the entire thing really - it's a Japanese Windows 95 shirt.