-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/next' into feat/unocss
- Loading branch information
Showing
10 changed files
with
153 additions
and
91 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ice/runtime': patch | ||
--- | ||
|
||
feat: support pre render ssr |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'rax-compat': patch | ||
--- | ||
|
||
default export support |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { createElement } from './create-element.js'; | ||
import render from './render.js'; | ||
import { | ||
useState, | ||
useContext, | ||
useEffect, | ||
useLayoutEffect, | ||
useRef, | ||
useCallback, | ||
useMemo, | ||
useReducer, | ||
useImperativeHandle, | ||
} from './hooks.js'; | ||
import Fragment from './fragment.js'; | ||
import { forwardRef, createRef } from './ref.js'; | ||
import { Component, PureComponent, memo } from './component.js'; | ||
import { createContext } from './context.js'; | ||
import shared from './shared.js'; | ||
|
||
// Mocked version for rax. | ||
const version = '1.2.2-compat'; | ||
|
||
export { | ||
Component, | ||
Fragment, | ||
PureComponent, | ||
createContext, | ||
createElement, | ||
createRef, | ||
forwardRef, | ||
memo, | ||
render, | ||
|
||
// This is mocked object for rax compatible. | ||
shared, | ||
useCallback, | ||
useContext, | ||
useEffect, | ||
useImperativeHandle, | ||
useLayoutEffect, | ||
useMemo, | ||
useReducer, | ||
useRef, | ||
useState, | ||
version, | ||
}; |
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,5 @@ | ||
import { createElement } from './create-element.js'; | ||
import render from './render.js'; | ||
import { | ||
useState, | ||
useContext, | ||
useEffect, | ||
useLayoutEffect, | ||
useRef, | ||
useCallback, | ||
useMemo, | ||
useReducer, | ||
useImperativeHandle, | ||
} from './hooks.js'; | ||
import Fragment from './fragment.js'; | ||
import { forwardRef, createRef } from './ref.js'; | ||
import { Component, PureComponent, memo } from './component.js'; | ||
import { createContext } from './context.js'; | ||
import shared from './shared.js'; | ||
import * as Rax from './exports.js'; | ||
|
||
// Mocked version for rax. | ||
const version = '1.2.2-compat'; | ||
export * from './exports.js'; | ||
|
||
export { | ||
Component, | ||
Fragment, | ||
PureComponent, | ||
|
||
createContext, | ||
createElement, | ||
createRef, | ||
forwardRef, | ||
memo, | ||
|
||
render, | ||
|
||
// This is mocked object for rax compatible. | ||
shared, | ||
|
||
useCallback, | ||
useContext, | ||
useEffect, | ||
useImperativeHandle, | ||
useLayoutEffect, | ||
useMemo, | ||
useReducer, | ||
useRef, | ||
useState, | ||
|
||
version, | ||
}; | ||
export default Rax; |
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
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
Oops, something went wrong.