sveltejs / svelte · Issue No. 18471
I find createContext really useful but it only provides get/set functions equivalent to getContext and setContext, while missing the hasContext function. This can be painful because there is no way to check if a context exists if the key is not available. Also trying to get it will throw an error.
Providing a third function for createContext to return a [get, set, has] triplet.
nice to have
Relay reads this issue against the repository's contribution signals: the files it is likely to touch, how the maintainers triage work this size, and what the first contribution would exercise.
The full analysis for this issue is still being assembled. Until then, the description above and the thread on GitHub are the most reliable context.