3 ms·
Yes, it seems recursive and I don’t like it. You can wave your hands around as much as you like but fundamentally this state based rule stuff says: - apply st
by wokwokwok 3y ago
Yes, it seems recursive and I don’t like it.
You can wave your hands around as much as you like but fundamentally this state based rule stuff says:
- apply styles
- now, query the current state
- based on the current state, apply different styles
I understand there are complex interactions that people want to cater for like sticky headers, but… really?
There’s only so far you can bandaid a declarative language like css.
If you want dynamic behaviour, use javascript. That’s why it exists.