React lifecycle methods can be confusing if you don’t know which one to use for your particular use case. Today I’m going to show you, which lifecycle methods exist, and how to use them correctly.
Tag: JavaScript
Introducing: A weekly newsletter for all of you
Today I set up a mailing list for a weekly newsletter. This is something I already mentioned in a post about my plans for this blog. Now what is it for? Why should you subscribe? I’ll tell you.
Continue reading Introducing: A weekly newsletter for all of you
How to create responsive UI with styled-components
There are several approaches on creating responsive web apps with ReactJS. Apart from using whole frameworks like Bootstrap, I wanted to create a responsive grid view with styled-components, which was amazingly painless.
Continue reading How to create responsive UI with styled-components
Connecting my app to the HackerNews Firebase API
In my last article, I showed how I built a HackerNews feed with React and styled-components. In the meantime I could connect this little news feed to the official HackerNews Firebase API. Like the last time, I will show you how I did it and what I experienced while doing so.
Continue reading Connecting my app to the HackerNews Firebase API
How to build a simple HackerNews feed with styled-components
Some weeks ago I stumbled over an impressive new library called styled-components. It does not only enable you to write actual CSS in your JavaScript but also binds the styles automatically to ReactJS components. Learn more about this at their official docs and this video.
Being inspired by a blog post from Dave Ceddia about learning while copying existing products, I came up with the idea of building a small story feed for the HackerNews page while trying out styled-components.
Continue reading How to build a simple HackerNews feed with styled-components