Bitovi Blog - UX and UI design, JavaScript and Front-end development

react

Create Dynamic Components with Strings in React & TypeScript

October 31, 2022

While writing React apps, we often run into scenarios where we might need a component to render as different elements. These elements could be different HTML tags or other React Components. Have you...

Next.js Conf 2022: React Roundup

October 27, 2022

We went to Next.js Conf on October 25th, 2022, to bring you our key takeaways and thoughts on the future of React and Next!

How and When to Memoize Your React Application

October 17, 2022

Ever wondered what memoization really means when working in React? Have you used useMemo or useCallback hooks or even React.memo countless times without actually understanding their particularities?

Should You Trust Your API with tRPC?

September 20, 2022

How much should you trust your APIs? Trust between the frontend and backend is fundamental—in most modern web applications, both sides are ultimately accountable for the application.

How to Use React Suspense to Improve Your UI Load Time

September 7, 2022

If you work regularly with React, chances are you are already familiar with at least the concept of React Suspense. Suspense is a useful tool provided by the React library that allows developers more...

How to Create a Web Component with Create React App

August 22, 2022

Have you ever felt the need to put some React code on a site that isn't React? Enter react-to-webcomponent, a free library from Bitovi that makes it easy to put a React application inside of a web...

How to Create a Path Alias in Webpack

August 8, 2022

We've all been there: you’re multiple folders deep in a project, and you must reach up to grab a component in a top-level folder with an unknown level of ../'s to traverse. These complications...

Work Smarter: Optimize Your Checklists with Emoji-Coding ✅

July 25, 2022

Ready to level-up your note taking and task management? Emoji-coding is a fun little technique to help you manage your checklists. It's designed to help document and tackle tasks more efficiently,...

Use Objects or Switch Statements in Javascript?

January 10, 2022

Do you use switch/case statements or do you use object literals in your Javascript? 

A Simple Asynchronous Alternative to React's useReducer

July 27, 2021

Even though React's useReducer has gained a lot of popularity during the last couple of years, it can be difficult to use for some common cases. Specifically, it requires a lot of boilerplate to...