* 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: dynamic import works in app.tsx
* fix: test case
* chore: update depenedency version of @ice/webpack-config
* refactor: rax-compat jsx-runtime
* chore: add CHANGELOG and update version of rax-compat
* chore: pnpm lock up-to-date
* fix: puppteer update
* 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>
* 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
* 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: init example
* fix: can not render component
* chore: lock
* feat: test case
* fix: comment
* fix: test error
* fix: test case
* fix: not use the correct location in hash router
* chore: remove appConfig param
* chore: remove AppConfig type
* feat: support swc options for plugin-rax-compat
* chore: example
* test: fix test case
* test: fix test case
* test: fix test case
* fix: outputdir
* fix: onappear for no ref cases
* fix: merge options
* fix: appear polyfill
* chore: remove appear polyfill dependency
* fix: add swc helpers
* fix: onappear on rax-compat
* refactor: format code and not to use react.frowardRef
Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
* fix: lint
* feat: getStatiData getServerData
* refactor: distinguish static env
* test: get static data
* fix: ssr runtime env
* fix: ssr runtime env
* fix: fliter ssr runtime env
* fix: routes data may be null
* fix: return empty object if getStaticData not exists
* fix: throw error when generate html
* fix: env order
* refactor: env name
* refactor: ssg option
* refactor: get hydrate info by userConfig
* fix: lint
* fix: lint
* fix: lint
* refactor: static generation to render mode
* refactor: reset ssr env in runtime
* refactor: isCSR to csr
* fix: type
* feat: support get mock data
* feat: middleware
* feat: support watch mock dir file change
* chore: lock
* fix: mock
* chore: lint
* feat: put mock middleware to first
* feat: support mock exclude
* fix: app.addProvider not be added (#190)
* feat: app.addProvider not be executed
* fix: still excute when error
* chore: skip test
* test: use vitest
* chore: update test script in ci.yml
* chore: remove coverage
* chore: remove max-old-space-size
* chore: not use threads
* chore: add maxThreads
* chore: set maxThreads to 2
* chore: set to node 16
* chore: set threads to false
* chore: add coverage
* chore: max-old-space-size
* fix: package name
* refactor: main package for ice
* fix: test case
* test: test case
* test: run context without built-in plugin
* test: add console level
* test: test case
* fix: remove built-in plugin
* test: use json file
* Revert "test: use json file"
This reverts commit be309d7df5a00fcc14fdc54fe2a63c9bce54221c.
* fix: update build-scripts
* fix: optimize code
* fix: exports field
* chore: use consola instead of console
* fix: optimize code