Blog

24 Feb 2021

Create Chaos, I mean React App.

#@!$!@#$#!@$#@$#@$!#@$!@#$@ screaming intensifies

Hello, World

Okay so last week, my friend Zemo decided to make some Runescape-related app that would allow me to learn CRA, Redux, Typescript, TDD and some other useful things to prepare for my internship.

The first day went well, I made the repo, he set up the CRA and typescript for me. I was then assigned to work on the parser for our project, played around a bit with regex and it was done within a few hours. At that point I thought, hey this isn’t too bad to learn. However, I didn’t know that real challenges are yet to come.

I woke up the next day to a message from my friend saying he changed the parser into PegJS, I read up on it and became bamboozled. . so well, now I have no clue how our parser works. Nevertheless, I managed to figure out how to process the output and made sure it covered the edge cases.

Next issue? So now we need a store, and naturally my friend wrote the whole thing within a few hours, told me to do stuff with it. After a few days of struggling (also didn’t help that I was busy moving to a new place), we came up with this idea: He’ll work on the store and supposedly those ‘backend’ kind of work, and I’d be creating the React webpage stuff.

Sounds easy right? Well, if it was JSX it wouldn’t have been too bad; however, our project uses TypeScript and I HAVE NO IDEA WHAT I’M DOING.Honestly though, I don’t think it’s going to be that hard once I figure out how to get started. The annoying part right now is the fact that I have 0 idea about Typescript nor React syntax (since my only experience with that is legit just this Gatsby blog). So I guess it’s going to be an easy task once I manage to deploy it for the first time.

Well, fingers crossed, hopefully I’ll get the hang of it soon so I can finally get something done.

Still alive,

Doggo