-
-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ryansolid/solid into next
- Loading branch information
Showing
5 changed files
with
665 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,51 @@ | ||
export { | ||
createRoot, | ||
createSignal, | ||
createEffect, | ||
createRenderEffect, | ||
createComputed, | ||
createDeferred, | ||
createSelector, | ||
createMemo, | ||
createResource, | ||
getListener, | ||
onMount, | ||
onCleanup, | ||
onError, | ||
untrack, | ||
batch, | ||
on, | ||
useTransition, | ||
createContext, | ||
useContext, | ||
children, | ||
getOwner, | ||
equalFn, | ||
serializeGraph | ||
} from "./reactive/signal"; | ||
export type { Resource } from "./reactive/signal"; | ||
|
||
export { createState, unwrap, $RAW } from "./reactive/state"; | ||
export type { State, SetStateFunction } from "./reactive/state"; | ||
export * from "./reactive/mutable"; | ||
|
||
export { reconcile, produce } from "./reactive/stateModifiers"; | ||
|
||
export * from "./reactive/scheduler"; | ||
export * from "./reactive/array"; | ||
export * from "./render"; | ||
export type { JSX } from "./jsx"; | ||
|
||
// handle multiple instance check | ||
declare global { | ||
var Solid$$: boolean; | ||
} | ||
|
||
if ("_SOLID_DEV_" && globalThis) { | ||
if (!globalThis.Solid$$) globalThis.Solid$$ = true; | ||
else | ||
console.warn( | ||
"You appear to have multiple instances of Solid. This can lead to unexpected behavior." | ||
); | ||
} | ||
export { | ||
createRoot, | ||
createSignal, | ||
createEffect, | ||
createRenderEffect, | ||
createComputed, | ||
createDeferred, | ||
createSelector, | ||
createMemo, | ||
createResource, | ||
getListener, | ||
onMount, | ||
onCleanup, | ||
onError, | ||
untrack, | ||
batch, | ||
on, | ||
useTransition, | ||
createContext, | ||
useContext, | ||
children, | ||
getOwner, | ||
runWithOwner, | ||
equalFn, | ||
serializeGraph | ||
} from "./reactive/signal"; | ||
export type { Resource } from "./reactive/signal"; | ||
|
||
export { createState, unwrap, $RAW } from "./reactive/state"; | ||
export type { State, SetStateFunction } from "./reactive/state"; | ||
export * from "./reactive/mutable"; | ||
|
||
export { reconcile, produce } from "./reactive/stateModifiers"; | ||
|
||
export * from "./reactive/scheduler"; | ||
export * from "./reactive/array"; | ||
export * from "./render"; | ||
export type { JSX } from "./jsx"; | ||
|
||
// handle multiple instance check | ||
declare global { | ||
var Solid$$: boolean; | ||
} | ||
|
||
if ("_SOLID_DEV_" && globalThis) { | ||
if (!globalThis.Solid$$) globalThis.Solid$$ = true; | ||
else | ||
console.warn( | ||
"You appear to have multiple instances of Solid. This can lead to unexpected behavior." | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,54 @@ | ||
export { | ||
createRoot, | ||
createSignal, | ||
createComputed, | ||
createRenderEffect, | ||
createEffect, | ||
createDeferred, | ||
createSelector, | ||
createMemo, | ||
getListener, | ||
onMount, | ||
onCleanup, | ||
onError, | ||
untrack, | ||
batch, | ||
on, | ||
createContext, | ||
useContext, | ||
getOwner, | ||
equalFn, | ||
requestCallback, | ||
createState, | ||
unwrap, | ||
$RAW, | ||
reconcile, | ||
produce, | ||
mapArray | ||
} from "./reactive"; | ||
|
||
export { | ||
awaitSuspense, | ||
mergeProps, | ||
splitProps, | ||
createComponent, | ||
For, | ||
Index, | ||
Show, | ||
Switch, | ||
Match, | ||
ErrorBoundary, | ||
Suspense, | ||
SuspenseList, | ||
createResource, | ||
useTransition, | ||
lazy, | ||
sharedConfig | ||
} from "./rendering"; | ||
|
||
export type { State, SetStateFunction } from "./reactive"; | ||
export type { Component, Resource } from "./rendering"; | ||
|
||
|
||
|
||
export { | ||
createRoot, | ||
createSignal, | ||
createComputed, | ||
createRenderEffect, | ||
createEffect, | ||
createDeferred, | ||
createSelector, | ||
createMemo, | ||
getListener, | ||
onMount, | ||
onCleanup, | ||
onError, | ||
untrack, | ||
batch, | ||
on, | ||
createContext, | ||
useContext, | ||
getOwner, | ||
runWithOwner, | ||
equalFn, | ||
requestCallback, | ||
createState, | ||
unwrap, | ||
$RAW, | ||
reconcile, | ||
produce, | ||
mapArray | ||
} from "./reactive"; | ||
|
||
export { | ||
awaitSuspense, | ||
mergeProps, | ||
splitProps, | ||
createComponent, | ||
For, | ||
Index, | ||
Show, | ||
Switch, | ||
Match, | ||
ErrorBoundary, | ||
Suspense, | ||
SuspenseList, | ||
createResource, | ||
useTransition, | ||
lazy, | ||
sharedConfig | ||
} from "./rendering"; | ||
|
||
export type { State, SetStateFunction } from "./reactive"; | ||
export type { Component, Resource } from "./rendering"; | ||
|
||
|
||
|
Oops, something went wrong.