Javascript Antipatterns to be avoidedI jumped on in the interview with MERN stack-based E-commerce project but, the interviewer started with javascript and I was rejected. I think I rushed with React and Node ignoring the richness of Javascript, but after reading these series you won't....Mar 3, 2022 · 2 min readmerndeveloper.hashnode.dev
React Router in 3 minsLet's build Navbar Using ECMAScript6 Arrow Functions, we can write React-based Components instead of writing classes. A function import React from 'react'; function Navbar () { return(<div></div>); } export default Navbar; is stored in global s...Jan 17, 2022 · 3 min readmerndeveloper.hashnode.dev
What is difference between State and Props of Components in React.jsIn vanilla javascript, the static data or dynamic data through inputs and fetch were handled in arrays or objects and then exported and imported in other files. This is called a Declarative Pattern where everything has to be defined before you hit UR...Jan 12, 2022 · 3 min readmerndeveloper.hashnode.dev
Writing Component from scratch in JSXJavaScript XML is a language in which HTML can be written in Javascript. A developer who knows HTML can easily write JSX following three simple rules. Replace class with className. for eg. navbar in bootstrap <div className="nav"> </div> inline...Jan 11, 2022 · 2 min readmerndeveloper.hashnode.dev
Magic Of ReactEvery MVC framework from Larvel, Django, and Angular has a middleware. People often think that React is also an MVC-based framework but it isn't. It is Javascript Library that is used to make reusable UI Components in Frontend. When Complex UI is to ...Jan 10, 2022 · 2 min readmerndeveloper.hashnode.dev