Remix.run Logo
machiaweliczny 3 days ago

Rookie mistake, you just conflating concepts pretending things don't exist. Good API is one that is minimal, explicit and acomplishes the job without conflating with somethings else. Congrats now I don't know if this variable is designed for rendering of state managements and when I will hit some perf issues will have no idea what causes this, same with some unintended state update or something like this. If you can do everything using same concept it's obviously harder to read as you need to simulate compiler in your head which is bad design.