Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ovyerus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ovyerus
2y ago
JS is really good at FP, but it doesn't have any real concept of function purity and isolating side effects. Rust has constant functions, for one: https://doc.rust-lang.org/reference/const_eval.html
2.
▲
by
ovyerus
4y ago
No it's just bad code/devops
3.
▲
by
ovyerus
7y ago
class is a perfectly valid property in jsx, as it just gets mapped to `{"class": ...}`, however react adopts to use className instead because of the dom api `el.className = ...`, but also some stuff like older versions of IE. most