#Frontend
Крипта становится популярнее, и все чаще в разговоре можно услышать «веб-три». Но в этой статье я отброшу истории про «вкладывать в крипту все деньги, торговать на фьючерсах и абузить StepN» и подойду к Web 3.0 с технической стороны.
Для ускорения работы «Перекрёсток» обратился к подрядчикам по дизайну, Frontend-разработке и контенту. Команда AFFINAGE отвечала за часть работ по продуктовой аналитике для онлайн-сервиса доставки товаров и верстку ключевых страниц.
Всем привет! Я подготовил перевод крутой статьи, которая расскажет Вам о полезных инструментах, ускоряющие работу веб-разработчика. Приятного чтения!
Социальные проекты дают уникальный шанс для команды сделать что-то значимое и полезное. Так, компания Frontend Production участвовала в IT- лагере по web-разработке, организованным основателем SkyEng Гошей Соловьевым. Поделимся нашим опытом в социальных проектах и расскажем, чего делать не стоит, а главное как работать эффективно с новым…
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…
Способны ли разработчики увеличить доходность компании клиента? Еще как! В этой статье мы посмотрим на фронтенд-разработку с точки зрения пользы для бизнеса. Проследим основные этапы ее создания, а также расскажем, в каких коммерческих отраслях она наиболее необходима.
The useFetch hook also offers flexibility through its customizable options parameter. Developers can pass additional headers, query parameters, or request options as needed, ensuring compatibility with various APIs. The hook follows best practices by providing default options for setting the Content-Type header as application/json, promoting…
One of the main advantages of useClickOutside is its ease of use. Simply import the hook into your component and pass the desired component's reference and a callback function. The hook takes care of the event listener setup and cleanup, saving you time and effort. Plus, it works seamlessly with functional components using the useState and useRef…
Разработка программного обеспечения в реальном мире зачастую отличается от того, чему нас учат.
Даже при наличии курсов программирования и многочисленных учебных инструментов, доступных для всех в наши дни, никогда не было так легко начать карьеру в этой сфере. Об этом также свидетельствует ошеломляющий рост рабочих мест в этой области. Например, Бюро трудовой статистики прогнозирует, что к концу 2029 года занятость разработчиков,…
У нашего агентства очень разнообразный опыт реализации кейсов. С кем мы только не работали: банки, застройщики, бренды одежды и даже поставщик товаров для взрослых. Но один проект любим особенно горячо — сервис бронирования речных и морских круизов Fun&Sun. О том, что это за сервис, в нашей короткой статье.
One of the key advantages of useHover is its simplicity and reusability. By encapsulating the hover logic within the hook, you can easily use it across multiple components without duplicating code. This promotes clean and maintainable code, saving you time and effort in the long run.
Представим, что любой проект в IT-компании — это живой организм. С живым организмом могут случаться траблы, что-то болит, а что — не понятно. Обычно, людям в таких случаях помогает тщательный осмотр специалиста и намеченный план лечения. И вот мы однажды задумались, а почему бы не поиграть в докторов и не проводить исследования на поиск и решение…
One of the main advantages of useDebounce is its simplicity and flexibility. By wrapping your callback function, delay duration, and any dependencies in this custom hook, you can effortlessly implement debouncing functionality without cluttering your component code. The hook takes care of managing the timeout and clears it when necessary,…
One of the key advantages of this custom hook is its simplicity. You can use it to store any type of data, such as strings, numbers, or even complex objects, with just a few lines of code. Additionally, useStorage handles the serialization and deserialization of data for you, so you don't have to worry about converting values to and from JSON.
By encapsulating the repetitive useEffect pattern, useEffectOnce allows you to focus on the logic within the effect function itself. This elegant solution saves you from writing boilerplate code repeatedly and helps keep your component files clean and concise.
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…
One of the key advantages of this custom hook is the ability to update the cookie value. The updateCookie function, returned by useCookie, enables you to modify the value of the cookie. By invoking this function with a new value and optional options, such as expiration or path, you can instantly update the cookie. Additionally, the hook…
One of the significant advantages of useScript is its ability to handle script loading asynchronously. By setting the script's async attribute to true, you ensure that it won't block the rendering of your application. This improves the performance and overall user experience, especially when dealing with larger scripts or slow network connections.
One of the major advantages of useEventListener is its flexibility. You can specify the event type, callback function, and even the element where the event listener should be attached. This flexibility allows you to tailor event handling to your specific needs, enhancing the reusability of your code.
One of the main advantages of useDebugInformation is its simplicity. By integrating just a few lines of code into your component, you gain access to a wealth of debugging data. The hook tracks the number of renders, changed props, time since the last render, and the timestamp of the last render. This comprehensive information empowers you to…
One of the key advantages of useDeepCompareEffect is its ability to prevent unnecessary re-renders. By performing a deep comparison between the current and previous dependencies, the hook intelligently determines if the effect should be triggered, leading to optimized performance in scenarios where shallow comparisons fall short.