Understanding getStaticProps in Next.jsIntroduction Before I dive into the topic for today getStaticProps, Let me do a brief intro to what Next.js is: As seen in the image above from Next.js official webpage, Next.js is known to be the React framework for Production. One of the main bene...Dec 25, 2022 · 4 min readblog.ogbonna.dev
Understanding Pure and Impure Functions in JavascriptIntroduction Before my migration into ReactJs, I never knew about functions being pure or impure. I only understand functions as a set of statements that performs a task or calculates a value. But after my migration to react, I learnt so much about ...Jun 25, 2022 · 4 min readblog.ogbonna.dev
Understanding Object Literal Enhancement In JavascriptDefinition Object literal enhancement is the opposite of destructuring. it's the process of restructuring or putting the object back together. Remember in my previous blog, i talked about about Array and Object destructuring, and stated that destruc...1BApr 12, 2022 · 2 min readblog.ogbonna.dev
Array and Object Destructuring in JavascriptIntro Since ES2016, Javascript syntax has supported creative ways of scoping variables within objects and arrays. These creative technique are widely used among the React community. Today i'll keep our focus only on one of this technique called Des...Apr 4, 2022 · 3 min readblog.ogbonna.dev