How to fetch data with a custom hook in React
Monday, November 3, 2025
Fetching data efficiently while managing loading and error states is a core requirement in modern React applications. As the creator of CoreUI, a widely used open-source UI library, and with over 11 years of experience in software development, I’ve built countless data-driven interfaces where reusable data fetching logic is essential. The most effective approach is creating a custom hook that encapsulates all data fetching logic, including loading states and error handling. This pattern promotes code reusability and maintains clean component separation.
How to Use ngOnInit in Angular
Thursday, October 30, 2025
As the creator of CoreUI and with over 25 years of Angular development experience, I’ll show you how to properly use the ngOnInit lifecycle hook for component initialization and data setup.