🔍Чекни скрытые баги в React: неправильное использование ключей в списках
Если ты рендеришь список компонентов и используешь index в качестве key, будь осторожен — это может привести к непредсказуемым багам UI.
📉Что может пойти не так: - Компоненты не будут корректно обновляться при изменении порядка; - Сохранённое состояние внутри компонентов (например, в инпутах) будет сбиваться; - Возрастает шанс багов при анимациях и переходах.
🔍Чекни скрытые баги в React: неправильное использование ключей в списках
Если ты рендеришь список компонентов и используешь index в качестве key, будь осторожен — это может привести к непредсказуемым багам UI.
📉Что может пойти не так: - Компоненты не будут корректно обновляться при изменении порядка; - Сохранённое состояние внутри компонентов (например, в инпутах) будет сбиваться; - Возрастает шанс багов при анимациях и переходах.
The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.
Newly uncovered hack campaign in Telegram
The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.