PinnedBadih BarakatTypeScript Interfaces & Abstract Classes. When to use which.Photo by UX Indonesia on UnsplashMay 9, 20233May 9, 20233
PinnedBadih BarakatClient Device Detection in Next.js 13Photo by Yura Fresh on UnsplashMay 7, 20233May 7, 20233
PinnedBadih BarakatPHP Interfaces & Abstract Classes. When to use which.PHP offers quite a range of OOP features to impower your logic and problem solving abilities. Two of these features which I find so useful…Jan 30, 2022Jan 30, 2022
PinnedBadih BarakatUse Emoji in HTML, PHP, JavaScript and CSSPhoto by chaitanya pillala on UnsplashJan 31, 2022Jan 31, 2022
PinnedBadih BarakatClosure, Memorization and the Fibonacci SequenceA Fibonacci sequence is the series of numbers where the nth number is the result of the (n-1) number + (n-2) number. The sequence is:Jan 3, 2021Jan 3, 2021
Badih BarakatinStackademicuseState() or useReducer()? Which One to Use (with TypeScript)?State management is what drives the reaction in React.js. When the state changes, it triggers the re-rendering of the page and the…Feb 13Feb 13
Badih BarakatinStackademicRead Excel File from URL and Write to Excel File Using XLSX in ReactI was working on a project requirement where the app is expected to read an excel. The best solution which I found suiting my requirement…Jan 22Jan 22
Badih BarakatinStackademicReact Context (useContext), as Alternative to Redux, with TypeScriptYou possibly faced the scenario where you want to share your data, and in particular, centralized common state values with your app…Jan 6Jan 6
Badih BarakatinStackademicDetect Device Details on Next.js Client-Side ComponentsYou might be aiming at customizing your Next.js app based on the device type, or the browser it runs for CSS optimization and looking for a…Dec 3, 20232Dec 3, 20232
Badih BarakatinStackademicTypeScript in React and Next.js: A Few Tips and SolutionsIf you’ve been coding TypeScript in React.js or Next.js for a while, you most probably have come across issues related to typing, and by…Nov 15, 2023Nov 15, 2023