Hi there

Welcome to my personal homepage where I share some thoughts about IT and other stuff

Why I switched to hugo

Background Starting with Next.js Next.js is a neat time saver when you wanna do RAD (Rapid Application Development). You can create new routes (pages) by creating new files! Let me show you an example: Filename Route ./src/pages/home.tsx /home ./src/pages/login.tsx /login ./src/pages/user/create.tsx /user/create ./src/pages/user/[id].tsx /user/:id Note to the last route: id is a parameter that gets passed down to the React component...

April 12, 2021 · 5 min

Resettable state in React

Hey everyone! Finally a new blog post from me! Yesterday someone on a Discord server I’m also in posted a link to this repository: https://github.com/shiftyp/object-hooks-test. The repository contains a custom React hook with which you can reset your state to the initial state. I have been using React now for about 1 - 1,5 years and I never thought about resetting the state to its initial state. Quickly (in 7 minutes) I smashed together a custom react hook which exactly does this one thing… and I published it on NPM too!...

April 22, 2020 · 2 min

Hello world (again)!

After a quick look at Gatsby, I decided to make my website with the technologies I already know. Now you may ask yourself why I put “again” in the title and that is ok. I already had a little blog and this is a rework. That’s the reason. What to expect? Posts about web development Posts about general topics Maybe tutorials So far, Yannick Fricke

June 29, 2019 · 1 min