Open History to see the last commit
1import * as Solid from 'solid-js'
2β
3export const matchContext = Solid.createContext<
4 Solid.Accessor<string | undefined>
5>(() => undefined)
6β
7// N.B. this only exists so we can conditionally call useContext on it when we are not interested in the nearest match
8export const dummyMatchContext = Solid.createContext<
9 Solid.Accessor<string | undefined>
10>(() => undefined)