6 place 0 fresh

38 Нужен ли здесь useEffect? «хороший» React-вариант и мол-вариант здесь один и тот же код

Habr
cmyser @ Habr 1 place · today 18:43 EDT

Нужен ли здесь useEffect? «хороший» React-вариант и мол-вариант здесь один и тот же код

На Хабре вышла хорошая статья «Нужен ли здесь useEffect?»: 12 сценариев из code review, в которых эффект либо не нужен, либо нужен не такой.Я пишу на $mol и читал её как этнограф. в моле нет API эффектов. Во что превратятся все 12 демо, если их переписать ? Посмотрите ?. Сделал страницу с демками.Спойлер: чек-лист из 12 строк в конце схлопнулся в … Узнать про useEffect в $mol

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

LIKE us on Facebook so you won't miss the most important news of the day!

News from the same source
Habr Habr
Silicon Valley
George Avalos @ Silicon Valley 1 place · 02/07/2106 01:28 EDT

Newark apartment complex bought for much less than prior value

An East Bay apartment complex has been bought at a price that's well below its prior value. Read more

0

🔮
07.07.2026 ♉︎ Dear Taurus, today you can expect a busy day filled with opportunities and challenges. In... Read more ›
Silicon Valley
George Avalos @ Silicon Valley 2 place · 02/07/2106 01:28 EDT

PG&E buys San Jose building to bolster South Bay operations

A PG&E Corp. unit has bought a San Jose building in a move to bolster the utility's South Bay operations. Read more

0

SlashGear
SlashGear 1 place · today 20:45 EDT

What Is Diesel Regen And Why Does It Matter?

Diesel engines still have their place in the modern automotive world, but they're not without flaws. What is diesel regen? Why is it necessary? Read more

0 newcommer

Digital Trends
Nadeem Sarwar @ Digital Trends 1 place · today 20:30 EDT

Samsung sets July 22 date for Unpacked to launch Galaxy Z Fold 8 series foldable phones

At its next Unpacked event, Samsung is expected to launch three new foldable phones as well as refreshed smartwatch models. Read more

0 fresh

SlashGear
SlashGear 2 place · today 20:30 EDT

5 SUVs With The Worst Gas Mileage In 2026

SUVs aren't exactly known for their fuel economy, but even among these inherently less fuel-efficient vehicles are some that have truly terrible mileage. Read more

0 fresh

GSMArena.com
GSMArena.com 1 place · today 20:12 EDT

Google officially reveals when it's launching the Pixel 11 series

Mere hours ago a rumor claimed Google would, rather fittingly, (considering the naming) be unveiling the Pixel 11 devices on August 11, and it turns out that rumor was wrong - but not by much. Bloomberg’s Mark Gurman has now received an official invite from Google to the grand launch event, and it's taking place on August 12 in New York City at 6 PM local time. Google Pixel event... Read more

0 fresh

Digital Trends
Varun Mirchandani @ Digital Trends 2 place · today 20:04 EDT

Budget smartphones are getting squeezed, and AI is one reason why

An Omdia report warns that smartphones priced below $400 could decline by more than 22% in 2026 as rising memory costs, fueled in part by AI demands, reshape the global smartphone market. Read more

0 fresh

The Information
Martin Peers @ The Information 1 place · today 20:01 EDT

Samsung, it seems, deserves a little more respect. The electronics conglomerate may be best known in the U.S. for its TV sets and smartphones, which jostle with the iPhone for attention, but it’s also one of the three biggest makers of memory chips globally (along with Micron Technology and SK Hynix). The explosion of that business, thanks to demand from AI data centers, has turbocharged profits at all three companies—with... Read more

0 newcommer

The Verge
Victoria Song @ The Verge 1 place · today 19:55 EDT

Meta’s glasses will turn off the camera if you tamper with the privacy light

Amid public backlash over its smart glasses, Meta announced that it will be updating its glasses with a new feature that will disable the camera when it detects that someone has tampered with or destroyed the glasses' privacy LED light. The update is meant to address modders who have taken actions such as physically drilling […] Read more

0 fresh

SlashGear
SlashGear 3 place · today 19:45 EDT

Why Do Airplanes Measure Distance In Nautical Miles?

Most people know that ships use nautical miles to measure distance, as it is in the name. You might be surprised, however, to learn that airplanes do too. Read more

0 fresh

The Information
Laura Mandaro @ The Information 2 place · today 19:30 EDT

It’s not easy to run an enterprise software company these days. For the nth example of this, read the latest story by my colleague Laura Bratton, who describes how an Atlanta real estate manager replaced Salesforce software with a custom app developed using Replit and Claude Code—saving $100,000 a year. Yipes. Fears that companies will replace their software subscriptions with cheaper AI tools have hammered not just publicly traded stocks... Read more

0 fresh

MacRumors
Juli Clover @ MacRumors 1 place · today 19:25 EDT

iOS 27: 13 Ways the Messages App is Smarter and Less Annoying

The Messages app is arguably the most important app on the iPhone, and in iOS 27, Apple is adding some useful improvements. There are some quality-of-life fixes for longtime issues, and new AI features. Contextual Suggestions Messages uses Apple Intelligence to surface one-tap suggestions based on what's being discussed in a conversation. If someone you're talking to asks you to send a photo, Messages recognizes the request and suggests adding... Read more

0 fresh

Business Insider
Charles Rollet @ Business Insider 1 place · today 19:22 EDT

Perplexity is quietly building an AI coding tool to take on Cursor and Claude Code

San Francisco-based Perplexity, valued at $20 billion, is working on 'Teammate,' an AI tool that may compete with AI coding giants like Anthropic. Read more

0 fresh

CNET
David Carnoy @ CNET 1 place · today 19:20 EDT

Best Open Earbuds for 2026

Looking for earbuds that keep you connected to your surroundings while still delivering good sound? These are my current top picks for true-wireless earbuds with an open design. Read more

0 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
tuchka6215 @ Habr · 06/30/2026 22:29 EDT

Кажется я выяснил кто открыл Америку

История открытия Америки Христофором Колумбом звучит как хороший сценарий для фильма. История открытия Америки викингами ещё до Колумба звучит как ещё один хороший сценарий для фильма. Есть и более прозаичная третья версия, о которой вы, скорее всего, никогда не слышали, потому что она наиболее вероятна, и при этом в слишком невыгодном свете выставляет историю официальную и её авторов.Задолго до Колумба ...Португальцы открыли острова Зелёного Мыса около 1460-го года, а Азорские... Read more

0

Habr
tsypanov @ Habr · 07/01/2026 01:00 EDT

Продолжаем прокачивать навигацию на FPV

В одной из прошлых статей я показывал, как донастроить ваш приёмник ГНСС, чтобы выжать из него максимум. Однако, точность навигации на квадрокоптере складывается из нескольких составляющих, а мы улучшили одну из них. В этой публикации мы заполним этот пробел Как и в прошлых статьях, я предполагаю, что читатель знаком с основами дроностроения и электроники. Читать далее Read more

0

Habr
dbraincloud (dBrain) @ Habr · 07/01/2026 01:05 EDT

Проблема миграции больших кластеров на Cassandra

Миграция Cassandra выглядит простой задачей ровно до того момента, пока кластер не становится действительно большим.Разберем, где достаточно snapshot, когда стоит использовать междатацентровую репликацию, а в каких случаях лучше вообще отказаться от переноса исторических данных. Читать далее Read more

0

Habr
dimonier @ Habr · 07/01/2026 01:16 EDT

Агентность — что отличает агента от просто программы

Детерминированный алгоритм: Программист пишет скрипт. Тот заходит на три конкретных сайта, берёт заголовки из определённых HTML-блоков, склеивает и отправляет. Если сайт поменял вёрстку — скрипт ломается. Если тема сместилась — скрипт этого не заметит. Он делает ровно то, что сказано, и ни шагу в сторону.ИИ-агент: Вы говорите агенту: «следи за темой X, отбирай самое важное, присылай вечером». Агент сам решает, где искать, как фильтровать, что считать важным сегодня. Если сайт... Read more

0

Habr
Hima_Hahahai @ Habr · 07/01/2026 01:30 EDT

Управление уязвимостями по-русски: ФСТЭК, БДУ, приказ № 117 и почему обновление стало риском

С 2022 года российский VM живет по своим правилам. Приказ ФСТЭК № 117 впервые ввел обязательные сроки устранения (сутки на критическую уязвимость), штрафы за утечки стали оборотными, а само обновление зарубежного ПО превратилось в управляемый риск. Собрал всю регуляторику в одном месте и объяснил человеческим языком. Читать далее Read more

0

Habr
Securepoint83 @ Habr · 07/01/2026 01:49 EDT

Охота на «Красного Октября»: Как устроен бизнес на таргетированных атаках и почему ваш бухгалтер — это «входные ворота»

История о том, как киберпреступность превратилась в сферу услуг с прайс-листами в Даркнете, и почему классический антивирус уже не спасает.В 2019 году мир потрясла новость о черве Stuxnet. Тогда стало понятно: это не хулиганство и не банальная кража паролей. Это была точечная диверсия, спланированная с хирургической точностью. Пожалуй, именно с того момента мы можем вести отсчет новейшей истории целенаправленных кибератак.Но если тогда мишенью были атомные центрифуги Ирана, то сегодня под... Read more

0

Habr
ivgl @ Habr · 07/01/2026 01:54 EDT

Как я заставил 9B обгонять 30B: три месяца с local LLM агентом

Я дал 9B и 30B одну задачу. 30B сделал 24 шага и вернул неправильный ответ. 9B справился за 3. Разбираю почему размер модели — не главное, и что на самом деле определяет качество локального LLM-агента. Читать далее Read more

0

Habr
Securepoint83 @ Habr · 07/01/2026 02:01 EDT

Облачный антивирус: Спасательный круг в океане из 200 000 угроз в день

Почему сигнатуры больше не справляются, как KSN ловит Red October и что такое «блокировка по умолчанию».В мире ИБ редко встретишь технологию, вызывающую столько полярных мнений, как облачные антивирусы. Одни считают это маркетинговым пузырем, другие искренне верят, что старый добрый сигнатурный анализ на локальном ПК — это всё, что нужно человеку.Правда, как обычно, лежит посередине, но с сильным креном в сторону «облака». И если вы до сих пор думаете, что ваш... Read more

0

Habr
wingrune (AIRI) @ Habr · 07/01/2026 02:10 EDT

От пульта до полотенца — учим робота искать всё, что угодно

Привет, Хабр! Меня зовут Татьяна Земскова, я аспирантка МФТИ и научный сотрудник команды Embodied Agents лаборатории Cognitive AI Systems AIRI. Областью моих научных интересов является компьютерное зрение для робототехники. Я изучаю, в частности, то, каким образом робот может использовать различные модальности (текст, изображения, сегментационные маски объектов) для лучшего понимания сцены и навигации. Желаемыми свойствами современных навигационных систем является их универсальность, минимальность сенсорног Read more

0

Habr
monkey_llm @ Habr · 07/01/2026 02:11 EDT

audiogear: как разметить миллионы аудиозаписей для TTS

Конвейер на Python + Hydra, который превращает папку с аудио в богато размеченный датасет: качество речи, просодия, разборчивость, спикер, транскрипция — по колонке на запись. От одной видеокарты до кластера, карты под нагрузкой, и он не падает на «длинном хвосте» записей, на которых обычно рассыпается наивный скрипт. Читать далее Read more

0

Most popular sources

  • You see 915 news out of 915.
  • Sources 61 out of 61.
ScienceDaily 0%
Financial Times 0%
Tech Wire Asia 0%
Tech.eu 0%
ArcticStartup 0%
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

07.07.2026 20:50
Last update: 20:45 EDT.
News rating updated: 03:40.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2026