mschwarzmueller / nextjs-course-code

Source code for my NextJS course (https://acad.link/nextjs)
1.42k stars 2.32k forks source link

Arrow Functions? #4

Open osseonews opened 3 years ago

osseonews commented 3 years ago

Amazing course. Just curious why you always use regular functions instead of arrow functions? I know practically there isn't any difference, but just curious why you opt not to use arrow functions. Most of the code I see nowadays pretty much only uses arrow functions. Thanks.

shareef99 commented 3 years ago

Yeah, I was also wondering why he didn't use arrow functions.

harsh-vish14 commented 3 years ago

because for a person is new in javascript and some are not comfortable with arrow functions but the regular function is easy to understand

ChetanAtrawalkarCA commented 2 years ago

@harsh-vish14 But who? go to direct nextjs without learning javascript.

harsh-vish14 commented 2 years ago

@ChetanAtrawalkarCA there are some legendary people who want to learn advance without basic