PinnedBadih BarakatTypeScript Interfaces & Abstract Classes. When to use which.Photo by UX Indonesia on Unsplash·12 min read·May 9, 2023--3--3
PinnedBadih BarakatClient Device Detection in Next.js 13Photo by Yura Fresh on Unsplash·6 min read·May 7, 2023--3--3
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…·9 min read·Jan 30, 2022----
PinnedBadih BarakatUse Emoji in HTML, PHP, JavaScript and CSSPhoto by chaitanya pillala on Unsplash·3 min read·Jan 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:·4 min read·Jan 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…·10 min read·Feb 13, 2024----
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…·7 min read·Jan 22, 2024----
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…·13 min read·Jan 6, 2024----
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…·10 min read·Dec 3, 2023--2--2
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…·8 min read·Nov 15, 2023----