The Top Latest Web Dev Tips and Updates
Just as we do every month, we've pulled together a selection of articles from the world of web tech that we at HOTOVO think are worth sharing…
Since the release of React 18, there’s been a lot of discussion – and confusion – about data fetching with React, with the typical use case to fetch data in the useEffect hook being questioned, and new patterns being discussed. Read this Reddit explanation from Dan Abramov on the topic, and check out the article to understand it fully.
Data fetching is a complex topic affecting a user’s experience of an app. One of the most popular libraries, React Query, can help streamline the requests and solve data caching, re-validation, and redundant requests. However, the tricky part comes when you want to connect it to the user input. Want to know how to make it easy? Have a read of this guide.
Performance in the context of an application can mean various things. This blog post discusses the optimization techniques available for improving your Angular application's load performance and runtime performance.
Dependency injection is a widely used pattern that helps to inject dependencies into a class rather than creating the dependency inside it. The benefits are less boilerplate code, simpler testing, and better code readability. This article describes the dependency injection pattern and how to use it in the Node.js application with the help of the TypeDI library.