🔍Чекни скрытые баги в React: неправильное использование ключей в списках
Если ты рендеришь список компонентов и используешь index в качестве key, будь осторожен — это может привести к непредсказуемым багам UI.
📉Что может пойти не так: - Компоненты не будут корректно обновляться при изменении порядка; - Сохранённое состояние внутри компонентов (например, в инпутах) будет сбиваться; - Возрастает шанс багов при анимациях и переходах.
🔍Чекни скрытые баги в React: неправильное использование ключей в списках
Если ты рендеришь список компонентов и используешь index в качестве key, будь осторожен — это может привести к непредсказуемым багам UI.
📉Что может пойти не так: - Компоненты не будут корректно обновляться при изменении порядка; - Сохранённое состояние внутри компонентов (например, в инпутах) будет сбиваться; - Возрастает шанс багов при анимациях и переходах.
In recent times, Telegram has gained a lot of popularity because of the controversy over WhatsApp’s new privacy policy. In January 2021, Telegram was the most downloaded app worldwide and crossed 500 million monthly active users. And with so many active users on the app, people might get messages in bulk from a group or a channel that can be a little irritating. So to get rid of the same, you can mute groups, chats, and channels on Telegram just like WhatsApp. You can mute notifications for one hour, eight hours, or two days, or you can disable notifications forever.
Telegram Gives Up On Crypto Blockchain Project
Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”