Raphael Ugwu

  Writer, software engineer, and a lifelong student.


25 Stories by Raphael Ugwu

How to correctly force a Vue component to re-render

Cover four different ways to force a Vue component to re-render, including hot reload, the v-if hack, the forceUpdate method, and finally, the key-changing technique....
0 7 min read

How to create a React admin panel

In this article, we will learn how to create a React admin panel and how react-admin scaffolds admin interfaces for React applications.
5 13 min read

Pre-rendering your React app with react-snap

react-snap is a third-party library that pre-renders a web application into static HTML, offering improvements to loading speed and SEO.
2 6 min read

Error handling in Go: Best practices

Tackling errors in Go requires a different approach than the conventional methods in other mainstream programming languages.
0 7 min read

Application state management with Svelte

Svelte takes a more simplistic approach to state management, eliminating the need to install libraries and offering stores that manage state within the framework...
5 4 min read

Component testing in Nuxt.js with Jest

When building applications, it’s important to provide a clear path towards testing, which will reduce the time spent debugging and refactoring code.
1 6 min read

How to build a headless WordPress site with Vue

By consuming its REST API into frontend applications, WordPress is decoupled into a lightweight content management system, known as headless WordPress.
0 4 min read

How to simplify component testing with React Storybook

Storybook provides a great way to test our UI components. It may seem like we are doing away with unit testing, but that’s not...
1 4 min read

Rendering JSON animations in React applications

Rendering JSON animations in React can be tricky. We troubleshoot and solve the issues using react-lottie, a plugin for the Adobe Bodymovin extension.
0 6 min read

Testing and error handling patterns in Next.js 

Check out these different ways to run tests and handle errors in Next.js apps using Cypress, a JavaScript-based testing framework.
1 7 min read

Introduction to testing SvelteKit applications

Cover the fundamentals for testing applications in SvelteKit, including unit testing with Jest and Svelte Testing Library and end-to-end testing with Cypress.
0 4 min read

Improve mobile UI with React Native safe-area-context

Use React Native safe-area-context to build interfaces that easily adapt to different mobile screens, providing a uniform UX across different devices.
0 3 min read