@tanstack/react-router
Version:
Modern and scalable routing for React applications
1 lines • 533 B
Source Map (JSON)
{"version":3,"file":"matchContext.cjs","names":[],"sources":["../../src/matchContext.tsx"],"sourcesContent":["import * as React from 'react'\n\nexport const matchContext = React.createContext<string | undefined>(undefined)\n\n// N.B. this only exists so we can conditionally call useContext on it when we are not interested in the nearest match\nexport const dummyMatchContext = React.createContext<string | undefined>(\n undefined,\n)\n"],"mappings":";;;;AAEA,IAAa,eAAe,MAAM,cAAkC,KAAA,EAAU;AAG9E,IAAa,oBAAoB,MAAM,cACrC,KAAA,EACD"}