* fix: redirect named import
* fix: test case
* fix: redirect request
* test: redirect request
* chore: add changeset
* feat: support get exports by target
* fix: type
---------
Co-authored-by: shuilan.cj <shuilan.cj@taobao.com>
* 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>
* 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>
* feat: modify dataLoader
* feat: add type
* feat: add DataLoaderConfig
* feat: modify getData to defineDataLoader
* chore: remove defineDataLoader
* fix: fetcher shoule return promise
* fix: loader may be undefined
* fix: err loader config
* chore: modify example of pha
* feat: modify getData
* chore: modify type and mofiy options of init
* feat: modify fetcher to dataLoaderFetcher and add dataLoaderImport to entry
* chore: modify defaultDataLoaderFetcher
* chore: load data by route id
* feat: modify serverDataLoader and staticDataLoader
* feat: add fetcher when route change
* fix: deal with window undefined
* chore: modify type
* feat: try get data from cache
* feat: support useData
* feat: add defineStaticDataLoader and defineServerDataLoader
* chore: modify getData of example
* fix: should load data
* fix: fix ssg err
* fix: fix dataloader for ssg
* test: modify env of test
* fix: shoule clear cache when route changed
* fix: fix renderMode and add defult remder mode
* fix: add window
* test: add jsdom
* test: modify getData to dataLoader
* test: modify test of clientApp
* test: clear window after each test
* test: remove only
* test: remove only
* chore: modify appear
* fix: Try get data from cache when CSR
* chore: update lock
* chore: remove unused
* refactor: data loader (#685)
* refactor: set global fetcher
* refactor: set global fetcher
* fix: should not build react in data loader
* fix: test
* test: modify test
Co-authored-by: 水澜 <shuilan.cj@taobao.com>
Co-authored-by: ZeroLing <i@zeroling.com>
* fix: support request in data loader
* fix: type
* fix: type
* fix: ts error
* fix: type
* feat: support config exports in plugin
* fix: filter static modules
* refactor: rename
* feat: store initialStates
* chore: update README
* chore: add file comment
* chore: rename type
* fix: peer dependencies
* fix: defineStoreConfig not found
* feat: support get the appData
* fix: test case
* fix: lock
* feat: render document by routes config
* test: downgrade to csr
* chore: rename
* refactor: load route modules after only in ssr
* fix: pha test
* fix: compat with no routes config
* fix: ensure routes config before build
* fix: test case
* fix: test timeout
* fix: cache in test case
* refactor: check routes config before server compiler
* refactor: allways generate routes config
* chore: remove dead code
* fix: reset status when init config
* feat(miniapp): use platform in cli to generate miniapp code
* fix: lint error
* feat(miniapp): add miniapp project
* chore: revert example code
* chore: optimize code
* feat(miniapp): migrate some packages to ice
* feat(miniapp): update swcOptions for miniapp
* chore(example): add more pages
* feat(miniapp): add miniapp runClientApp
* feat(miniapp): update compile config for miniapp
* feat(miniapp): support get app and routes config in compile
* fix(miniapp): lint warning
* feat(miniapp): support routeData/routeConfig and reduce size
* fix: lint warning
* fix: lint warning
* feat(miniapp): support global css and page css
* feat(miniapp): support css modules
* feat(miniapp): support copying assets in public dir
* feat(miniapp): support Link and getSearchParams
* feat(miniapp): use index.ts.ejs as template
* feat(miniapp): support passing params in Link
* feat(miniapp): support history in miniapp
* fix(miniapp): build without compiling server bundle
* fix(miniapp): use getRoutesConfig
* feat(miniapp): support build options like outputDir
* chore(miniapp): update miniapp examples
* feat(miniapp): support html tags
* feat(miniapp): remove taro related code
* fix(miniapp): some cases
* fix(miniapp): use require.resolve to get page loader
* chore(miniapp): update lock
* fix(miniapp): page loader check this name
* chore(miniapp): add devDependencies
* chore: update index ejs template
* refactor(miniapp): update multiple platforms logic in ice
* chore: lock regenerator-runtime version
* chore(miniapp): add ali miniapp build command
* fix(ice): set default value of platform to web
* fix(runtime): remove duplicated denpdencies
* chore: set default value of platform to web
* feat(miniapp): registerSerialization when plugin activated
* test(miniapp): suit for vitest
* chore(miniapp): add webpack-sources to bundles
* chore: clean code
* chore(miniapp): remove jest config file
* fix: lint error
* fix: add default value of outputDir
* refactor(miniapp): remove openBrowser from logMessage
* chore(miniapp): remove unnecessary ts-ignore
* fix: type error
* chore(miniapp): rename Adapter to adapter
* chore(miniapp): update interface name
* refactor: use plugins to support miniapp
* chore(miniapp): update example name
* fix: update dependencies
* feat(miniapp): add platform check in cli
* chore: update lock
* fix: remove useless platform option
* fix: lint warning
* fix: lint warning
* test: use src code in tests
* chore(miniapp): remove ||= operators
* fix(miniapp): exclude miniapp-runtime esm code
* fix(ice-cli): update platform for build command
* feat: create plugin jsx plus
* feat: add jsx plus plugin
* chore: dismiss all lint problems
* feat: add include and exclude
* docs: update docs of jsx plus
* fix: in case of auto lint fix
* fix: lint problem
* fix: compatible with node 14
* chore: update version
* chore: update pnpm lock
* fix: dev dep
* feat: init jest test
* feat: support vitest
* chore: jest version
* feat: jest component test
* feat: vitest demo
* chore: add @vitest/coverage-c8 dep
* fix: lint
* docs: test
* chore: add comment
* fix: not depend on the vitest as dependencies
* chore: vitest version
* chore: version
* chore: version
* chore: lock
* fix: lock
* chore: vitest version
* fix: lock
* docs: typo
* docs: file extname
* test: improve test case
* test: compat win32
* test: test case
* test: add test case
* test: add test case
* test: test case for rax-compat
* test: test case for routes
* fix: types error
* fix: to strict equal
* chore: remove unused props
* fix: types
* test: test case for run client app
* chore: remove empty router
* test: test case of run server app
* chore: remove log
* chore: do not remove file by test case
* fix: remove document dependency when run client app
* chore: lint
* chore: remove config
* fix: lint
* chore: lint warning
* fix: test case
* chore: update unplugin
* feat: introduce useRequest
* chore: add some description
* fix: export statment for generator
* fix: make @ice/types dev dep
* fix: remove I prefix for interface
* fix: lint
* fix: update pnpm
* feat: add use case for app config
* fix: using export request config
* fix: review for code
* fix: dev dependency