Tuesday, June 13, 2023

133: Vite

 To get back into the swing of coding I decided to code along with a Ethereum dApp on the JS Mastery youtube channel. In order to initialize the app, I used Vite instead of the ancient Create React App. Vite created the app much faster, and supports numerous frontend frameworks. I selected React, and then was given the choice of Typescript or Javascript. This is also useful, as Typescript is something I am looking to learn in the future. The basic app skeleton provided by Vite is also superior to the one generated by Create React App. It has some simple styling nicely organized in tiers of CSS files, along with a simple function that increments a counter on the main App component. The counter utilizes the useState hook, so right out the box your app skeleton has a basic amount of complexity that I find helpful. 

No comments:

Post a Comment

190: Sablier

 The CodeHawks platform has an upcoming audit on the Sablier protocol, so I decided to read through the docs and familiarize myself with the...