dev.to dev.to

Building and Consuming a JSON API with Rails and React

When I thought about how to build an API, I started to search for what is the "best way" to do it. I found that exists specifications to build an API, you can found it here https://jsonapi.org. There, you would found a list of "rules" which we have to follow about how to send and receive data in an API. The next doubt I had, after knowing the "best way" to build an API, is how am I going to build that API with all those rules? It...

dev.to dev.to

Manually Lazy load Components in Angular 8

Angular is amazing! It is fast and smooth once loaded in the browser, but most often the start-up time suffers. Improving the start-up time for Angular apps is crucial for getting a high-quality app and a better user experience. Reducing the app's bundle size is one of the many ways to help with that, and that is where lazy loading comes into play. You must be familiar with lazy loading via Angular routes. In this article, we are going...

dev.to dev.to

My advice to junior developers

A client emailed me a while back and asked what advice I’d give to someone just starting out on their career. As I began to write my reply, I realised that everything that popped to my mind was generic recitals that you can find after 10s of googling. “Be curious” “Work hard” “Ask lots of questions” Not that these are bad advice. But they’re incredibly vague and you know them already. I wasn’t going to add any...