How It All Started
But first… Let’s go back in time for a while. I was starting with React. I kinda knew what it is and how can I use it to achieve my goal. My goal was to create a website that will work somehow. And deploy it so everyone can see it. I really enjoyed learning React. I loved its ecosystem and everything just seemed so easy and flexible.
The actual result was working, but it wasn’t so pleasing for the eye. I really hated CSS at that point. I spent hours and hours on an issue which at the end was solved by adding one property. Seriously…If I ever go bald at an early age. I know what to blame. As you can imagine I started looking for options to make my site looks great.
UI kits to the rescue!
Probably everyone used them at some point. They are easy to manage, We don’t have to care about CSS anymore. But they come with a price. The app looks too generic, and to be honest they look the same. So there I was, young, full of hope, using UI kits…
Until one day, I had an assignment and it was forbidden to use any UI kit. I was scared, but little excited as well. So I changed my pants, sit on a chair in front of the computer and I started my research. I was actually surprised. I truly enjoyed writing my own components. It seems like a quick and easy task. But it is actually quite complex. And you are facing a lot of problems during the development. It basically forces you to think ahead. And that is in my opinion really good practice to follow.
Never Looked Back
From that day, I always prefer to write my own components. I am in control. I can tweak them if I want to. And after all, it’s my code. So making changes won’t cost much time. I spent quite a time writing reusable React components. And now I feel I learned some valuable lessons that I can provide. And that is why I am starting a new series called…Drumroll…
How To Write Your Own React Components
I know. It’s not really creative. Well, I’m not really creative as well. So it relates to me in a way. Purpose of this series will be:
- Learn to write reusable React components
- Introduce the tools I am using and I believe are awesome!
- Learn to think futuristic. I don’t know. Is this the right(real) word?
- Last but not least. Have fun!
Sorry. No Code Today!
If you are still reading this and expecting any code. I’m sorry to disappoint you but there will be none. But you should definitely stay tuned. Next week I am publishing the first story of the series. In the story, we will be writing our own select. As you can guess we will use React for that and in addition we’ll use a couple of really cool libraries.
Reward For Those Who Deserve It
If you are still reading this and still expecting any code. You are in luck because you’ll get one. After all, you deserve it, brother or sister! Stay tuned and see you on the next one!