Commit Graph

16 Commits

Author SHA1 Message Date
ClarkXia 68f19eaeab
fix: unnecessary to import runtime module and routes when csr (#6507)
* fix: unnecessary to import runtime module and routes when csr

* fix: optimize code
2023-09-04 11:29:51 +08:00
ClarkXia 644422693c
fix: redirect import of definePageConfig (#6505)
* fix: redirect import of definePageConfig

* fix: modify template

* chore: test case

* fix: default value

* chore: test case

* fix: optimize code
2023-09-04 10:43:50 +08:00
ClarkXia 4763bc7666
Refactor: router (#6123)
* chore: refactor unfinished

* feat: support create router

* refactor: render mode

* fix: code splitting false

* feat: add location for icestark

* chore: remove console

* test: examples

* fix: dataloader is undefined

* fix: test

* fix: test case

* fix: test case

* fix: types

* fix: test case

* fix: lock

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* chore: optimize code

* Update singleRoute.test.tsx

* fix: types
2023-04-13 12:01:16 +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
ClarkXia c893a64a1c
chore: changeset config (#5909)
* chore: reset version

* fix: changeset

* chore: publish beta

* chore: update pre

* chore: custom version

* chore: remove test

* fix: version

* chore: test case

* chore: version

* fix: reset changelog

* fix: update lock

* fix: changelog

* chore: release beta version

* chore: add changeset

* chore: release beta version

* chore: update @ice/app version

* chore: update version and lock

---------

Co-authored-by: luhc228 <luhengchang228@126.com>
2023-02-16 16:11:49 +08:00
luhc228 ee8963886b feat: modify store to storeConfig (#688) 2022-11-15 19:04:24 +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
ZeroLing d2c7e0696d chore: optimize (#676)
* chore: optimize with rax-compat docs

* refactor: add mock express types dependency

* refactor: change usage for definePageConfig

* chore: change docs

* docs: ICE to ice.js

* fix: templorary remove the type

* chore: handle with lint problems

* fix: lock file
2022-11-15 10:33:11 +08:00
luhc228 1b38b5eb43 refactor: app provider (#644)
* refactor: app Provider

* feat: add example

* fix: example warning

* fix: AppProvider to AppRuntimeProvider

* feat: miniapp AppRuntimeProvider

* fix: miniapp provider order

* chore: remove type
2022-11-15 10:33:11 +08:00
luhc228 d9ff53302b fix: plugin-store will transform image (#639)
* fix: plugin-store will transform image

* feat: use regexp to filter module id
2022-11-15 10:33:10 +08:00
luhc228 3f54369bff feat: store initialStates (#435)
* 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
2022-11-15 10:32:48 +08:00
luhc228 e7424d4cb9 chore: change disableResetPageState to resetPageState (#505)
* chore: change disableResetPageState to resetPageState

* chore: add resetPageState
2022-11-15 10:31:14 +08:00
ClarkXia 0345af7202 chore: remove useless devDependencies (#464) 2022-11-15 10:27:18 +08:00
ClarkXia 2dbe97a76f fix: lock regenerate-runtime path (#462) 2022-11-15 10:27:18 +08:00
luhc228 5acb8efcd6 feat: export createStore and createModel api from ice (#445) 2022-11-15 10:27:18 +08:00
luhc228 2ca66f5857 feat: store plugin (#431)
* feat: app store

* chore: store example

* chore: lock

* feat: init page store

* feat: update page store

* fix: disable reset page state

* feat: createModel

* test: with-store test

* fix: comment

* chore: lock
2022-11-15 10:23:01 +08:00