@lolyjs/core 0.2.0-alpha.2 → 0.2.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -5088,7 +5088,7 @@ async function startProdServer(options = {}) {
5088
5088
  import { hydrateRoot } from "react-dom/client";
5089
5089
 
5090
5090
  // modules/runtime/client/AppShell.tsx
5091
- import { useEffect, useState, useRef } from "react";
5091
+ import { useEffect, useState, useRef, useCallback } from "react";
5092
5092
 
5093
5093
  // modules/runtime/client/RouterView.tsx
5094
5094
  import { jsx } from "react/jsx-runtime";
@@ -5117,6 +5117,10 @@ var dataCache = cacheStore.data;
5117
5117
  var pathIndex = cacheStore.index;
5118
5118
  var lru = cacheStore.lru;
5119
5119
 
5120
+ // modules/runtime/client/RouterContext.tsx
5121
+ import { createContext, useContext } from "react";
5122
+ var RouterContext = createContext(null);
5123
+
5120
5124
  // modules/runtime/client/AppShell.tsx
5121
5125
  import { jsx as jsx2 } from "react/jsx-runtime";
5122
5126