Commit Graph

115 Commits

Author SHA1 Message Date
ClarkXia b04a59c43b
Merge pull request #6006 from alibaba/release/next
Release 3.1.3
2023-03-16 13:56:21 +08:00
染陌同学 87472b397a
docs: add event of rax compat (#6037)
* docs: add event of rax compat

* docs: modify event
2023-03-10 10:45:43 +08:00
水澜 2c6cf5c23a
fix: setRender api (#6031) 2023-03-09 10:17:53 +08:00
luhc228 71bb754dc8
feat: support route index and nested url without nested layout (#6020)
* feat: support route index

* chore: changeset

* docs: update router docs

* feat: support nested urls without nesting layouts

* feat: support escape route

* docs: nested url

* chore: update changeset

* fix: test

* test: escape and nested routes

* chore: add comment
2023-03-09 10:17:25 +08:00
ClarkXia 4601c028b5
chore: docs for new feature (#6013)
* chore: docs for new feature

* chore: package link
2023-03-06 15:03:10 +08:00
ClarkXia c23c10e4ff
Merge pull request #5950 from alibaba/release/next
Release 3.1.2
2023-03-02 14:58:36 +08:00
luhc228 dae91e218c
fix: request plugin type and usage (#5992)
* feat: add d.ts type

* fix: request type

* fix: useRequest usage

* chore: changeset

* feat: support useRequest param is string
2023-03-01 18:00:59 +08:00
ClarkXia 56fb406e8a
fix: import path of types and runtime (#5981)
* fix: import path of types and runtime

* chore: package.json

* chore: add changelog

* fix: typings

* fix: type declare
2023-02-28 15:08:10 +08:00
染陌同学 f7b5894063
docs: add appear doc (#5980)
* docs: add appear doc

* docs: modify VisibilityChange
2023-02-28 10:59:36 +08:00
ClarkXia 071a627dac
feat: support code spiliting strategy (#5957)
* feat: support code spiliting strategy

* fix: optimize code

* fix: compatible with splitChunks

* fix: compatible with splitChunks

* chore: default value chunks

* Update config.md

* Update routes.ts
2023-02-24 17:22:18 +08:00
ClarkXia 23504a77d4
docs: route limit (#5964) 2023-02-23 19:28:32 +08:00
染陌同学 e5df1cea7a
docs: modify docs of rax-migrate (#5907) 2023-02-21 19:01:45 -08:00
ClarkXia 6dfc4b00e1
Merge pull request #5875 from alibaba/release/next
Release 3.1.1
2023-02-20 11:52:53 +08:00
水澜 866ca0e2ab
feat: redirect imports (#5919)
* feat: redirect runtime imports

* chore: change log

* docs: add info for data loader
2023-02-15 19:35:02 -08:00
ClarkXia c63d120a9a
docs: import path of runtime types (#5899) 2023-02-13 14:32:27 +08:00
waynelee d70f5246f4
docs: don't import defineDataLoader as a type (#5901) 2023-02-12 22:59:25 +08:00
luhc228 842a2c00fb
docs: add searchParams usage (#5898) 2023-02-10 01:38:12 -08:00
waynelee 299a3466af
docs: fix the development doc path error (#5871) 2023-02-08 02:57:16 -08:00
waynelee 0e1588b789
docs: fix import defineAppConfigh from ice (#5870) 2023-02-06 15:07:22 +08:00
waynelee 04833b736f
docs: fix update-from-icejs2 (#5854) 2023-02-03 12:18:48 +08:00
ZeroLing 94339d93ed
fix: website build with errors (#5860) 2023-02-03 12:17:14 +08:00
ClarkXia a364a619c9
Merge pull request #5804 from alibaba/release/3.1.0
Release/3.1.0
2023-02-03 11:39:48 +08:00
水澜 d2f0b7e5c7
feat: suspense ssr (#5584)
* feat: suspense ssr demo

* chore: rename global variable

* chore: update lock

* feat: suspense demo

* chore: delete dead code

* refactor: rename to data context

* fix: error triggered in steam, should not downgrade

* feat: suspense ssr

* fix: should async script when suspense

* feat: support suspense for common components

* feat: support suspense for common components

* fix: style type lint

* fix: typings

* feat: remove server data loader for suspense component

* feat: disable dataLoader for suspense

* chore: add style

* chore: add changelog

* chore: add changelog

* chore: add comments

* refactor: check suspense data

* fix: type

* test: suspnese

* fix: compat with ssg

* feat: fallback for suspense

* feat: suspense fallback

* refactor: pass id as props

* refactor: pass fallback as element

* fix: type

* docs: suspense

* docs: suspense

* refactor: support suspense in components

* fix: changelog

* fix: lint

* fix: should not replace env to string

* chore: add changelog

* chore: remove dead code

* revert: dataloader for ssr

* fix: lint

* refactor: rename

* docs: hide suspense ssr

* refactor: remove internal error boundary

* refactor: merge if condition

* fix: type

* refactor: suspense api

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-02-02 16:00:04 +08:00
luhc228 bde7dbd6f7
docs: optimize cli documentation (#5846) 2023-02-02 10:46:17 +08:00
luhc228 80e6bef23d
fix: transformSync api not import (#5845) 2023-02-01 19:51:51 +08:00
luhc228 926fc278ac
fix: store docs typo (#5818)
* fix: store docs typo

* fix: typo
2023-01-31 07:01:39 -08:00
ClarkXia 4f8c72b678 Merge branch 'release/3.0' of github.com:alibaba/ice into release/3.0 2023-01-12 18:55:39 +08:00
ClarkXia c08dd7a706
docs: icestark (#5748)
* docs: icestark

* Update icestark.md
2023-01-12 16:15:39 +08:00
ClarkXia 8ef77037ac
Merge pull request #5784 from alibaba/release/3.0
Release 3.0.6
2023-01-12 15:48:05 +08:00
ZeroLing f46d0e7204
feat: support target and renderer (#5700)
* feat: support target and renderMode

* fix: test case and renderer

* Update build.ts

* refactor: constant

* fix: eslint

* fix: remove empty line

* fix: remove useless code

* feat: add import.meta.env

* fix: type webpack

* fix: server compiler defines
2023-01-06 15:07:39 +08:00
ZeroLing 98e89c1e6d
docs: add-icejs2-update (#5677)
* docs: add-icejs2-update

* docs: update doc

* Update update-from-icejs2.md

* Update update-from-icejs2.md
2023-01-05 15:45:42 +08:00
水澜 fb7dd7f394
docs: server external (#5729) 2022-12-26 17:00:53 +08:00
染陌同学 17161f9302
docs: add statit dataLoader (#5737) 2022-12-26 16:50:28 +08:00
染陌同学 e133db8101
docs: modify doc of appear (#5734) 2022-12-26 16:47:28 +08:00
染陌同学 f9dc5ffa85
docs: add docs of cumstom render for document (#5689) 2022-12-09 18:05:10 +08:00
luhc228 e339d4a003
optimize route docs (#5610)
* docs: update route config

* docs: get route info

* docs: route redirect

* docs: ignoreFiles in route docs

* docs: $.tsx

* feat: add route tip

* fix: comment
2022-12-07 19:17:17 +08:00
ZeroLing dbcde911b6
Update docusaurus.config.js (#5633) 2022-11-29 18:05:44 +08:00
luhc228 564638e205
docs: update plugin dev (#5619) 2022-11-29 11:13:17 +08:00
luhc228 c66f60e410
docs: add Document props pagePath (#5621)
* docs: add document props pagePath

* Update document.md

* Update document.md

* Update document.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-25 22:52:14 +08:00
luhc228 c2fdd48a2e
docs: splitChunks (#5601) 2022-11-25 14:58:56 +08:00
Rhuzerv cffc9895a5
docs: modify the url to the correct repo (#5612) 2022-11-24 13:24:35 +08:00
ZeroLing f6cfab13b4
Docs/update ssr (#5581)
* docs: remove tips s

* docs: modify docs
2022-11-23 20:10:17 +08:00
染陌同学 9ff4a3591a
docs: modify route docs (#5597) 2022-11-21 14:36:23 +08:00
NK 5235940708
docs(miniapp): update miniapp start article (#5580) 2022-11-17 20:04:44 +08:00
ZeroLing 2ef2eeb003
docs: modify ice.js documentations (#5579) 2022-11-17 19:51:12 +08:00
luhc228 17238b3c64
feat: ice.js 3 create-ice (#5571)
* feat: create-ice

* chore: README

* docs: create app

* chore: version

* fix: not existed file

* chore: template

* fix: scaffold name

* Update README.md
2022-11-17 14:30:45 +08:00
NK 29ce172fab
fix: miniapp bugs (#5566)
* fix(miniapp): compatible with no params passed to miniapp plugin

* fix(miniapp): not ignore outputDir in webpack watchOptions

* docs(miniapp): update miniapp start article

* fix(miniapp): only when public dir exists should copy-webpack-plugin be enabled
2022-11-17 11:53:27 +08:00
NK 8a60304b0b Fix/miniapp problems (#671)
* fix(miniapp): page load after getAppData

* docs(miniapp): update miniapp-runtime readme

* feat(miniapp): support turn off rpx2vw using enableRpx2Vw

* chore(miniapp): update example

* fix(miniapp): outputDir is wrong in command line

* fix(miniapp): no log in build command

* fix(miniapp): history type

* chore(miniapp): update example

* feat(miniapp): support enableCache to disable cache in miniapp task

* fix(miniapp): throw error if no getConfig function in page component

* feat(miniapp): add params to specify getData and getConfig

* fix(miniapp): getData/getAppData existence situation

* feat(miniapp): normalize route in history

* fix: lint warning

* feat(miniapp): align Link to props and history.push props

* docs(miniapp): add more articles

* feat(miniapp): support nativeConfig in plugin-miniapp

* feat(miniapp): rename getConfig to pageConfig

* feat(miniapp): rename getData to dataLoader

* fix: lint warning

* docs: fix broken links

* docs(miniapp): update miniapp location and relative links

* Update start.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-15 16:31:24 +08:00
luhc228 4148b2a761 docs: optimize (#686) 2022-11-15 16:31:18 +08:00
水澜 6ce0835d9b refactor: app data loader (#689)
* refactor: getAppData to dataLoader

* refactor: merge data loader logic in one file

* fix: comments
2022-11-15 16:31:09 +08:00