Quelklef/nifty-launcher

curry client

Closed this issue · 0 comments

Currently there's no way for a client to precompute anything that depends on lib but not query. This is because we call the client again each render. However, lib never changes, so this is mistaken.

Instead, the client should be curried to have signature lib => query => items, and client(lib) should be computed at most once.