able-baker/hmr-signal.tsx
2023-10-14 23:47:20 -04:00

16 lines
513 B
TypeScript

import * as SignalsParts from "signals-original";
import { Process } from "./hmr-listen.tsx";
const s1 = SignalsParts.signal(true);
const proxySignal =(arg)=>
{
console.log("---hmr---", arg);
return SignalsParts.signal(arg);
}
export * from "signals-original";
export { proxySignal as signal };
// ? export {ProxyCreate as createElement, ProxyState as useState, ProxyReducer as useReducer };
// ? export default {...ReactParts, createElement:ProxyCreate, useState:ProxyState, useReducer:ProxyReducer};