framework icon indicating copy to clipboard operation
framework copied to clipboard

suggestions for layered config

Open Fil opened this issue 9 months ago • 2 comments

Merging the result of the function with its argument feels surprising to me. I'm suggesting this alternative, where we only take the result of the function (the function can do {...config, title: "new title"} if that is what the user wants).

Also, I'm suggesting to await, so the exported function could be async? (Or, we wait for a real-world use case before we do that?)

Fil avatar May 24 '24 07:05 Fil