~/devreads

#tutorials

56 posts

22 Jul

9 Jul

7 Jul

30 Jun

4 Jun

28 May

26 May

21 May

20 May

13 May

Viliam Sedliak 6 min read

TL;DR New “val inside parentheses” syntax is being introduced to allow for name-based destructuring. Additionally, new syntax with square brackets is being introduced for positional destructuring. Both are currently Experimental (enabled using the -Xname-based-destructuring=only-syntax compiler argument) and will become Stable in a future release. In the distant future, the behavior of the “val outside parentheses” […]

newstutorialscompilerkotlintutorial

5 May

20 Apr

8 Apr

1 Apr

23 Mar

18 Mar

11 Mar

9 Mar

2 Mar

26 Feb

24 Feb

19 Feb

17 Feb

10 Feb

2 Feb

28 Jan

20 Jan

15 Jan

7 Jan

5 Jan

22 Dec 2025

17 Dec 2025

15 Oct 2025

24 Sept 2025

17 Sept 2025

27 Aug 2025

25 Aug 2025

22 Mar 2023

Omari Thompson-Edwards 3 min read

Email validation is a crucial part of any web application. It ensures that the user input is valid and can be used for various purposes like registration, login, and communication. In this article, we will walk through how to validate an email address in a React application with a few different approaches. Regex The most […]

tutorials

13 Feb 2023

Vlad Mihet 11 min read

After working professionally with React for some time now, I thought it might be helpful to share some of my experience with React, especially the Re-rendering process, in the form of a Definitive Guide. In this article, I’d want to dive deeper into this topic and provide a more straightforward way of understanding how the […]

tutorials

Vlad Mihet 11 min read

Search bars are a UI element you encounter on most websites; they help users find resources quickly through automatic suggestions. Adding a search bar to your application can drastically improve the UX by making your resources more accessible and more intuitive to search for. In this tutorial, we’ll create a simple, reusable, and customizable Search […]

tutorials

27 Jan 2023

Vlad Mihet 3 min read

Hash routing is a technique used in Single Page Applications (SPAs) to enable navigation through different views or components without reloading the entire page. How does Hash Routing work? It works by updating the URL in the address bar with a hash symbol (#) followed by a route, also known as a hash fragment. When […]

tutorials

Vlad Mihet 4 min read

Introduction React is a popular JavaScript library for building user interfaces used by many developers worldwide. One of the tools that can help developers build React applications more efficiently is a build tool. What is a Build tool? A build tool is a software that helps automate the process of building, testing, and deploying an […]

tutorials

Vlad Mihet 4 min read

Fiber is a reconciliation algorithm used in the popular JavaScript library React to efficiently update a web application’s user interface (UI). It was introduced in version 16.0 of React in 2017 and has significantly improved the performance of React applications. What is reconciliation in React? In React, when the state of a component changes, the […]

tutorials

18 Jan 2023

Vlad Mihet 6 min read

Error handling is a crucial aspect of software development, and it is especially important in the world of React, where components can be nested and complex. Proper error handling helps to ensure that your application remains stable and functional even when something goes wrong. In this article, we will explore some best practices for adding […]

tutorials

4 Dec 2022

Omari Thompson-Edwards 4 min read

Modals are a very useful piece of UI, used to display separate pieces of information, like dialog boxes. You can implement modals very easily in React, thanks to some useful patterns, like the state hooks, and the context API. In this article, I’ll talk you through building a basic, but very extensible modal system. Here’s […]

tutorials

3 Nov 2022

Vlad Mihet 4 min read

You may already know that, in React, we may map over a collection of items (Such as an array) using various iterator methods, such as Array.prototype.map or the trusty for loop outside JSX and generate Components or JSX Elements as we go. You can learn more about Iterators in React in this article. However, you […]

tutorials

27 Oct 2022

Vlad Mihet 5 min read

If you’ve worked on larger projects that do not already use Redux, you’ve probably encountered Prop Drilling and know how annoying and bad-looking that process is. However, if you haven’t, there is an article on the subject that you can check out here. One solution to that problem, as well as some other architectural ones, […]

tutorials

17 Oct 2022

Hasan Shahid 1 min read

We have talked about different state management techniques in a reactJS application, to maintain the state of your application in a global store so that it can access any of the components inside the application wrapped by the provider. The techniques are Redux Context In this one, we are going to take a look at […]

tutorialsadvanced react tutorialsjavascriptmobxreact

Hasan Shahid 2 min read

ReactJS is an open-source JS library. Developers make front-end applications UI using it. React makes a developer’s life easy as it is very easy to make an interactive application with all sorts of functionality. But there is some more effort when it comes to making your end-user stick to your application and for that, the […]

tutorialsreacttop react uiui libraries

13 Oct 2022

Vlad Mihet 5 min read

As your project continues to grow, it also begins to be harder to track and control, especially in the case of more developers joining the project. So what can you do? In order to avoid creating a messy project that’s fuelled by spaghetti code, some common conventions, methodologies, and tools shall be set up, favorably […]

tutorials

Vlad Mihet 5 min read

Most modern web applications today use complex color palettes, style guidelines, styling patterns, as well as many other methodologies and concepts in order to provide visually-stunning user interfaces which are not only pleasant to look like but are also intuitive due to the positioning of certain UI elements and the color schemes used. However, the […]

tutorials

Vlad Mihet 5 min read

When it comes to styling out components in React we do have plenty of choices ranging from vanilla CSS, to CSS/SCSS Modules, to even using a UI library/framework such as Bootstrap or Material UI. However, when it comes to integrating them with our React applications, something doesn’t feel right, especially when trying to conditionally style […]

tutorials

Vlad Mihet 3 min read

If you’re new to React you might be a bit confused about the whole data flow concept that you keep hearing about when researching more about React and the way that state and props work. No worries, as in this article we’ll go over an essential part of the unidirectional data flow of React, which […]

tutorials

Vlad Mihet 3 min read

It often happens that, as a React Developer, you’re working with big data objects containing a lot of nested properties, especially those coming from an external API. Because of that, it’s not always possible for us to tell the exact shape of the object at runtime, as sometimes, due to unforeseeable issues, our objects come […]

tutorialsbeginner react tutorialsjavascriptreactreactjs

9 Oct 2022

Pratham Bhagat 2 min read

React Router v6 has made it possible to pass props to the components normally. Earlier, in the older version of react-router, we need to use Route’s render method to pass props to the component. In this tutorial, we will be using React Router v6, so make sure you’re using the same version. Let’s get started. […]

tutorialsbeginner react tutorialsreact