Commit Graph

3295 Commits

Author SHA1 Message Date
思忠 35ea9c11a7 refactor: use dispatch instead of this 2020-04-07 18:22:14 +08:00
思忠 e125a9ce4d chore: fix lint 2020-04-07 17:59:55 +08:00
思忠 d57575d665 fix: move types to template 2020-04-07 17:43:19 +08:00
思忠 ca3fa80519 chore: optimize 2020-04-07 17:05:38 +08:00
思忠 4e8021f824 feat: format code 2020-04-07 16:51:34 +08:00
思忠 b736d20c28 chore: update example 2020-04-07 16:19:09 +08:00
思忠 3e0acde3da feat: define AppModel interface 2020-04-07 16:16:27 +08:00
思忠 7eaa882da4 refactor: export store types 2020-04-07 15:41:51 +08:00
思忠 9b0f651818 v1.1.4-alpha.6 2020-04-07 12:16:41 +08:00
chenbin92 88b9ef6ef6 fix: use initialStates (#221) 2020-04-07 12:09:40 +08:00
思忠 6a0f045446 v1.1.4-alpha.5 2020-04-07 11:45:22 +08:00
思忠 477b92e1f6 fix: add templates to package.json 2020-04-07 11:42:40 +08:00
思忠 431f4e6788 v1.1.4-alpha.4 2020-04-07 11:32:38 +08:00
chenbin92 30c09a6ad7 feat: export icestore types (#212)
* feat: export icestore types

* fix: export IcestoreRootState and IcestoreDispatch
2020-04-07 11:22:24 +08:00
chenbin92 707fac20ec feat: memo request (#218)
* feat: memo request

* fix: remove dependencies in useCallback

* fix: lint error
2020-04-07 11:15:22 +08:00
chenbin92 7b59fb9f20 fix: add History types (#215)
* fix: add History types

* chore: move router logic to plugin-router

* chore: add history deps

* fix: export history api

* refactor: move react-router-dom alias to plugin-router
2020-04-06 20:07:21 +08:00
chenbin92 d360264b34 fix: prettier error (#214)
* fix: prettier error

* fix: show log once
2020-04-06 18:23:28 +08:00
思忠 87ffdc071e fix: add types 2020-04-03 22:22:05 +08:00
思忠 f7531b7360 v1.1.4-alpha.3 2020-04-03 21:29:55 +08:00
chenbin92 5aa5636dc8 feat: upgrade icestore to 1.3.0 (#208)
* feat: upgrade icestore to 1.3.0

* fix: remove default key

* refactor: get appConfig

* feat: delay load appStore

* chore: remove store

* chore: update basic-ssr example

* chore: update basic-store example

* chore: update version

* chore: remove log

* chore: add comments

* chore: clear code

* fix: move appConfig alias
2020-04-03 20:48:31 +08:00
思忠 c676c9073b v1.1.4-alpha.2 2020-04-03 16:48:56 +08:00
chenbin92 454892803c fix: catch prettier format (#211) 2020-04-03 14:31:26 +08:00
chenbin92 ed9846a962 fix: no need to create route in SSR (#210) 2020-04-03 14:30:12 +08:00
chenbin92 2a00c428eb Merge pull request #209 from ice-lab/fix-app-mode
fix: get __app_mode__ from global
2020-04-03 12:48:58 +08:00
chenbin92 911d643ebb Merge pull request #207 from ice-lab/fix-lazy-import
feat: use ice lazy out of routes file
2020-04-03 12:44:53 +08:00
chenbin92 deab89e4b6 feat: export history instance (#196)
* feat: export history instance

* chore: add history types

* chore: code optim

* chore: code optim

* fix: support basename
2020-04-03 12:41:28 +08:00
ClarkXia c2861e2c6f fix: get __app_mode__ from global 2020-04-03 11:48:43 +08:00
ClarkXia c40a0d9110 fix: export lazy in single file 2020-04-03 10:56:36 +08:00
chenbin92 2fd649216a Merge pull request #206 from ice-lab/fix-command-test
fix: strip dashed of test command argv
2020-04-02 18:56:49 +08:00
ClarkXia 684f79467d feat: use ice lazy outof route file 2020-04-02 17:46:11 +08:00
ClarkXia 65efffbaec fix: strip dashed of test command argv 2020-04-02 15:42:51 +08:00
思忠 f899727e2d v1.1.4-alpha.1 2020-04-02 14:33:50 +08:00
思忠 d8872b8038 fix: deepmerge 2020-04-02 14:28:10 +08:00
chenbin92 8331e3f218 Merge pull request #198 from ice-lab/chore/code-format
chore: code format
2020-04-01 09:59:50 +08:00
思忠 8d26a1838f v1.1.4-alpha.0 2020-03-31 21:05:55 +08:00
chenbin92 0d7bedce0b fix: require deepmerge (#200)
* fix: require deepmerge

* fix: add deepmerge
2020-03-31 20:53:09 +08:00
思忠 a95b400f92 chore: code format 2020-03-31 15:23:36 +08:00
chenbin92 82e87301a4 fix: suspense fallback (#195) 2020-03-31 10:24:59 +08:00
思忠 b740f8221c chore: update version 2020-03-30 18:18:00 +08:00
chenbin92 39a344e04f Merge pull request #157 from ice-lab/release-next
* chore: release version

* fix: semicolons is required (#162)

* chore: fallback example (#169)

* fix: onHook position (#173)

* chore: version

* v1.1.3-alpha.0

* fix: pass location params to StaticRouter (#176)

* fix: pass location params

* fix: context params

* chore: code optimization

* fix: pass staticRouter context

* Feat/enhance request (#161)

* feat: enhance request

* refactor: load module time (#174)

* refactor: load module

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>

* feat: downgraded to csr when ssr error (#179)

* fix: define process.env.APP_MODE in ssr (#181)

* fix: define process.env.APP_MODE in ssr

* fix: modify define plugin

Co-authored-by: 大果 <sobear.me@gmail.com>

* fix: publish script (#180)

* v1.1.3-alpha.1

* fix: ssr to csr (#182)

* fix: use window variable

* chore: typo

* fix: remove define variables

* refactor: server render

* v1.1.3-alpha.2

* chore: fix lint (#183)

* chore: update example

* fix: params

* chore: revert beforeload (#185)

* Revert "Feat/enhance request (#161)"

This reverts commit 04f50b1104de5dbe8908c1bb4c2ccb904fc18f59 [formerly 0ceed05e05].

* v1.1.3-alpha.3

* feat: support runtime app_mode (#189)

* feat: support runtime app_mode

* feat: support process.env.SERVER_PORT

* fix: lock core-js version (#184)

* fix: lint error (#190)

* feat: add static module (#188)

* fix: set polyfill

* fix: before load module

* fix: load module in createApp

* chore: rename variable

* feat: support uglify

* refactor: code optim

* fix: window is not defined (#193)

* v1.1.3-alpha.4

* v1.1.3
2020-03-30 17:11:24 +08:00
思忠 4d39cb638f v1.1.3 2020-03-30 17:09:40 +08:00
思忠 c331cc12e4 v1.1.3-alpha.4 2020-03-30 16:35:34 +08:00
chenbin92 9fb8e80566 fix: window is not defined (#193) 2020-03-30 16:31:04 +08:00
chenbin92 5c24813d72 feat: add static module (#188)
* fix: set polyfill

* fix: before load module

* fix: load module in createApp

* chore: rename variable

* feat: support uglify

* refactor: code optim
2020-03-30 16:27:47 +08:00
chenbin92 e90fd6d988 fix: lint error (#190) 2020-03-30 14:04:55 +08:00
ClarkXia ad389ddcda fix: lock core-js version (#184) 2020-03-30 13:33:25 +08:00
ClarkXia 67eef96710 feat: support runtime app_mode (#189)
* feat: support runtime app_mode

* feat: support process.env.SERVER_PORT
2020-03-30 12:39:04 +08:00
大果 37044ae198 chore: revert beforeload (#185)
* Revert "Feat/enhance request (#161)"

This reverts commit 04f50b1104de5dbe8908c1bb4c2ccb904fc18f59 [formerly 0ceed05e05].

* v1.1.3-alpha.3
2020-03-27 23:38:45 +08:00
思忠 40e12d2178 fix: params 2020-03-27 19:21:21 +08:00
思忠 309898e2eb chore: update example 2020-03-27 18:57:14 +08:00