Raphael Ugwu

  Writer, software engineer, and a lifelong student.


24 Stories by Raphael Ugwu

How to 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 5 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

How to create a React admin panel

Learn how to build an admin panel for React applications with react-admin, a framework that builds admin interfaces by consuming APIs.
5 7 min read

Building cross-platform desktop apps with Svelte, Electron, and Reloadly

Follow along with a tutorial and example build for a cross-platform app using Svelte, Electron, and Reloadly.
0 5 min read