You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
336 B
13 lines
336 B
// TODO: Replace with React.createContext once we can assume React 16+
|
|
import createContext from "mini-create-react-context";
|
|
|
|
const createNamedContext = name => {
|
|
const context = createContext();
|
|
context.displayName = name;
|
|
|
|
return context;
|
|
};
|
|
|
|
const context = /*#__PURE__*/ createNamedContext("Router");
|
|
export default context;
|