frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Prefill – Partial application for React components

https://www.xoid.dev/blog/introducing-prefill
1•onurkerimov•2h ago

Comments

onurkerimov•2h ago
prefill is a small utility for preconfiguring React components; essentially partial application for components.

I’ve been using it for about a year and found it replaced several common patterns, so I decided to publish it and write up the reasoning and trade-offs.

Interested to hear how others approach this problem, or if there are edge cases where this breaks down.