Blog Posts

David Nicholas

Home

React to Everywhere with Vite and React to Webcomponent

8 minute read

December 13, 2022

React is the most popular frontend web development library in use today. However, there’s a problem. Competing frameworks undermine what could be a ubiquity—React, as far as the eye can see, an ever-flowing landscape context and declarative UI. This is the dream of React developers. All awaiting the day our awe-inspiring idea becomes reality. Well, rejoice, for the day is here! I have come before you to lay the groundwork for fulfilling our vision. How can that be? I hear you whisper, a joyful…

Read More...

Should You Trust Your API with tRPC

4 minute read

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. However, sometimes something goes wrong, and things don’t work as intended. Fields are left off responses, causing crashes and errors. Documentation goes un-updated, resulting in versioning issues. Are frontend/backend errors inevitable? At Bitovi, we constantly evaluate new technologies to ensure we provide our…

Read More...

How to Create Path Aliases in Webpack

3 minute read

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 increase drastically as a project grows in size and complexity; they might even cause fear whenever the word "refactor" is uttered. Fear not! There is a solution to your woes—path aliases. What Are Path Aliases? Path aliases are a way to change the starting location of an import from your file to a…

Read More...

Cube Rendering

4 minute read

June 27, 2021

Introduction Last time I mentioned that I had been seeing many hyper-cube animations and wanted to make one of my own. Last time ( Part One ), I talked about how n-cubes could be generated and stored as a graph. Now, I want to take that generator and render a cube. I could leverage many libraries; that said, since this is more about my curiosity and will not be released outside this post, I want to build it all from scratch. Rendering Drawing and rendering a square is straightforward and not…

Read More...

Complex Rotations

3 minute read

June 20, 2021

Introduction Complex numbers are underrated. Taught quickly in high school with little to no context around them, most write them off as useless; however, this is not the case. There are many uses in fields like physics and electrical engineering, but my favorite use is rotating two-dimensional objects. Is it the most practical application of complex numbers? No. Are there any benefits to rotating with complex numbers as opposed to a rotation matrix? Not that I'm aware of. That said, I think the…

Read More...

N-Cubes from Binary Codes

3 minute read

June 17, 2021

Introduction I have been seeing many hyper-cube animations lately and am inspired to try to create something similar. So, today I want to look into generating n-dimensional cubes with binary block codes. I will break this project down into two parts: Generate points for a cube of any given dimension Render and rotate the cube on the screen Binary Codes and Cubes Back in college, my math professor showed me a relationship between binary block codes and cubes, which is helpful for point generation…

Read More...

Hover Cards

4 minute read

January 7, 2021

Introduction I often find myself in a position where I want to code, but I don't have a project I am working on or want to start. I have also always wanted to try my hand at blogging. The idea is simple (original? probably not), I go on Dribbble, find something that I think looks cool, and build it using react or whatever framework/tech stack I feel like (with some design liberties - I don't make graphics, and I eyeball colors). Then in the post, I will explain how I did it and show some code…

Read More...