@TauCetiGG They should have added keyboard and mouse support on consoles. Otherwise, playing against PC players in cross-play with a gamepad is a whole new level of difficulty.
@DeadP47 Marathon хуета, на Xbox нет поддержки клавиатуры и мыши. Кроссплей включён по умолчанию, и отключить его можно только через системные настройки Xbox. Но как только ты его отключаешь, подбор матчей практически перестаёт работать. Ну и приходится отсасывать у пк бояр
@argyleink Dude, you inspired me(and others) to do frontend. Where you build interface your way and then challenge to do it in other way. Your blog is awesome, and you are too. I believe you'll be fine.
@RhysSullivan Where is the ‘return’ from the ‘map’ method ? Why iife in ‘const details = ()()’ here. This code will not render anything. pardon my English.
@davidm_ml@OtamanMahno You have duplicate duplicates
f(['a', 'a', 'b', 'c', 'c', 'a']) => f(['a', 'a', 'c'])
think he meant
f(['a', 'a', 'b', 'c', 'c', 'a']) => set(f(['a', 'a', 'c']))
I actually used Map in this task
Vanilla Extract just shipped support for cascade layers with support for both locally and globally scoped layers.
This is a game changer for design systems. Massive shout out to @mrm008 for this one.
Scoped layers: https://t.co/BmqD4BXOxN
Global layers: https://t.co/kvDrEZ6X7d
Problem: localStorage isn’t strongly typed. You read and write to it via a string key, and the value returned is always a string. 👎
Solution:
1 Infer types via Zod
2 Wrap localStorage with functions
3 Parse values via Zod
Now the data returned is validated *at runtime*. 🔥