Search
Write a publication
Pull to refresh
527.91

Website development *

Making the Web Better

Show first
Period
Level of difficulty

React Custom Hook: useStateWithValidation

Level of difficultyMedium
Reading time2 min
Views1.7K

One of the key advantages of this custom hook is its flexibility. You can pass any validation function that suits your specific requirements. Whether it's checking the length of a string, ensuring a numeric value falls within a certain range, or performing more complex validations, useStateWithValidation has got you covered.

Read more

React Custom Hook: useRenderCount

Level of difficultyMedium
Reading time2 min
Views1.6K

One of the major advantages of using useRenderCount is its simplicity. By abstracting the logic into a reusable hook, you can easily integrate it into any component without cluttering your codebase. Additionally, it provides a clear and concise way to monitor render behavior, which can be crucial for performance optimization and debugging.

Read more

React Custom Hook: usePrevious

Level of difficultyMedium
Reading time2 min
Views8.6K

This custom hook can be a game-changer in various scenarios. For instance, you can utilize usePrevious to compare and visualize changes in data, track state transitions, or implement undo/redo functionality. Additionally, it can be valuable in form handling, animations, and any situation where having access to the previous value is crucial for your application's logic.

Read more

React Custom Hook: useOnScreen

Level of difficultyMedium
Reading time2 min
Views3.5K

One of the key advantages of useOnScreen is its simplicity. With just a few lines of code, you can detect if an element is visible and respond accordingly. This can be immensely useful in scenarios where you want to trigger animations, lazy load images, or load additional content as the user scrolls.

Read more

React Custom Hook: useMediaQuery

Level of difficultyMedium
Reading time2 min
Views4.4K

One of the key advantages of this custom hook is its simplicity and reusability. With just a few lines of code, you can effortlessly implement responsive behavior throughout your application. Whether you need to conditionally render components, apply specific styles, or trigger different functionality based on screen size, useMediaQuery has got you covered.

Read more

React Custom Hook: useLongPress

Level of difficultyMedium
Reading time2 min
Views1.7K

One of the key advantages of useLongPress is its simplicity. By utilizing this hook, developers can easily define a long-press action on any element in their React application. With just a few lines of code, the hook takes care of handling the intricacies of tracking the long-press duration and triggering the associated callback function.

Read more

React Custom Hook: useGeolocation

Level of difficultyMedium
Reading time2 min
Views2.9K

One of the key advantages of useGeolocation is its simplicity. By encapsulating the complex logic required for geolocation access and handling, this hook provides a clean and reusable solution. The hook automatically handles the loading state, updating it when geolocation data is being fetched, and sets the error state if any issues arise during the process.

Read more

Supercharge Your React Projects with Custom Hooks

Level of difficultyMedium
Reading time42 min
Views11K

In this article, we dive into the world of custom React hooks and explore the incredible potential they hold for supercharging your work projects. With over 20 carefully crafted hooks at your disposal, I personally utilize these hooks in my own work projects, and now I'm excited to share them with you. From enhancing functionality to streamlining workflows, these custom hooks are designed to empower developers and deliver user-friendly experiences. Join us on this journey as we unleash the power of these 20+ hooks and unlock new levels of productivity and innovation in your React projects.

Read more

Google Cloud Platform for WebRTC CDN with Balancing and Autoscaling

Reading time9 min
Views1.6K

In the previous article we refreshed our memory of WebRTC CDN and the ways this technology helps to minimize latency for WebRTC streams. We also discussed why load balancing and autoscaling wouldn't be amiss in CDNs. Here are the main points from the article:

Read more

AWS, ELB, CDN, Autoscaling and other abbreviations and terms related to low-latency WebRTC

Reading time11 min
Views1.3K

The modern browsers do not give users a choice between using WebRTC and not using it. And while you can playback streams using HLS or MSE, WebRTC remains the only tool for capturing camera feeds and publishing streams from a browser. The browser developers have accepted this "format" and integrated it into their products – just as they used to support the Flash Player as a plugin. The only difference is that WebRTC comes natively integrated into the browser — as code, not a plugin. If, in a few years, a new and better library for video streaming is introduced they will undoubtedly make a switch. But these days, Chrome maintains its dominance, so no contenders for WebRTC are in sight.

Read more

Automatize it, or Docker container delivery for WebRTC

Reading time8 min
Views4.2K

The vast majority of IT specialists in various fields strive to perform manually as few actions as possible. I won't be afraid of the loud words: what can be automatized, must be automatized!

Let's imagine a situation: you need to deploy a lot of servers of the same type and do it quickly. Quickly deploy, quickly undeploy. For example, to deploy test rigs for developers. When development is carried out in parallel, you may need to separate the developers, so they don't impede each other and possible errors of one of them don't block the work of the others.

There may be several ways to solve this problem:

Read more

Is headless e-commerce right for your business?

Reading time4 min
Views2K
Is headless e-commerce right for your business?

Headless e-commerce is a hot topic in the media and industry events. Business owners who learn more about headless eCommerce (usually called “headless commerce”) start feeling uncomfortable, not understanding whether it is sufficiently important to implement it or not. No one wants to stay behind with technology, but retailers do not have money left for unnecessary toys either. Let's have a look for possible benefits and pitfalls.
Read more →

List of Top World Ruby's Conferences

Reading time6 min
Views2.3K

Ruby programmers around the world are participating in an increasing number of conferences where they gather to share reports on unfinished projects, discuss the future of Ruby, and welcome newcomers to the community. At such conferences, new ideas are born and a lot of inspiration comes for real masters of their craft. Let's take a look at the list of the main events of the Ruby community.

Read more →

Why we love and choose Ruby instead of Node.js?

Reading time11 min
Views2.4K

Choosing between Node.js and Ruby on Rails, when choosing a development platform, is a core decision. That affects how the project unfolds over time, and how much server resources will be needed. Both languages can support web applications of high complexity, but each has its advantages and disadvantages. Knowledge of these pros and cons will help to choose the best solution for the proposed project. Let's analyze in more detail and tell you about our choice and experience.

Read more →

Technology Stack To Follow in 2020 For Startups

Reading time5 min
Views5.1K


JavaScript, CSS, and HTML are some of the main technologies that help you to build robust app solutions. So, if you are looking to build smart web applications for your business, then I advise you to jump to my idea of cross-platform and open-source development frameworks right away.

Here is the list of the tech stacks for app developers to use in 2020.
Read more →

How To Solve?: «ECONNREFUSED — connection refused by server»

Reading time3 min
Views8K

Chances are that while you've been using FileZilla you've also come across the ECONNREFUSED — connection refused by a server error. If that's the case — great that you've found this tutorial! I am going to show you three methods that might help you with resolving this FTP error.

Read more →

Introducing Java 13: Let's dive Into JDK's New Features

Reading time5 min
Views2.7K


Java has been a programmer’s dream and what’s the better way to quantify Java’s popularity with the new version release Java 13. After the initial Java enhancement proposal, there have been advancements in JDK features that will blow up Java developer’s mind with a new range of features after the official release on September 17, 2019.

But Why do you think Java is so popular?

Java has been a craze among programmers due to its platform independence and the ability to run on different computers. It has been there for so long that it has been adopted by organizations like banks, insurance companies, enterprises, agencies and mostly by software outsourcing companies.

Java has been there in the business to develop android apps, java web applications, software tools, and scientific applications.

Let us delve into the stats and gauge the popularity ratio of Java applications among other competing programming languages.
Read more →

Review of WCS 5.2 — WebRTC Server for Webcast and Webcam Developers

Reading time13 min
Views2.8K


Alice is an experienced full stack developer, who is capable of writing a SAAS project framework on her favorite framework using php in a week. As for frontend, she prefers Vue.js. 


A client contacts you via Telegram, asking you to develop website that will be the meeting place for the employer and the employee to conduct an in-person interview. In-person means face-to-face, a direct video contact in real time with video and voice. «Why not use Skype?» some may ask. It just so happened that serious projects – and each startup undoubtedly considers itself a serious project – are trying to offer an internal communications service for a variety of reasons, including:

Read more →

Authors' contribution