Hengchang Lu
5a5a74b0a9
Merge pull request #3677 from alibaba/feat/support-getInitialData-and-setInitialData
...
Feat/support get initial data and set initial data
2020-10-21 10:25:26 +08:00
思忠
36de48f5c1
chore: update example
2020-10-21 10:19:53 +08:00
狒狒神
e805cb1314
feat: support kraken mpa( #3663 )
2020-10-20 21:18:55 +08:00
思忠
94328c9c9c
feat: support getInitialData and setInitialData API
2020-10-20 16:16:23 +08:00
思忠
10fa9563ac
feat: support function component
2020-10-15 11:03:26 +08:00
狒狒神
e10b55b989
chore: bump version ( #3648 )
2020-10-13 16:57:45 +08:00
Hengchang Lu
f2e8baff56
fix: rax store of null ( #3641 )
2020-10-13 16:14:20 +08:00
狒狒神
e1aadd4528
chore: bump version ( #3622 )
2020-10-12 20:56:32 +08:00
chenbin92
c3b1ad8e72
docs: update store docs ( #3636 )
...
* docs: update store docs
* docs: add tip
* docs: optimize
* docs: add types desc
* docs: export types api
* docs: rename types api
* chore: update store example
2020-10-12 17:38:03 +08:00
chenbin92
d62b9bf729
fix: compatible with empty object ( #3627 )
2020-10-10 18:28:41 +08:00
狒狒神
3b8665dd33
Merge pull request #3610 from alibaba/export-ErrorBoundary-component
...
feat: export ErrorBoundary Component
2020-09-29 16:17:23 +08:00
狒狒神
226558080c
fix(rax-app): ssr public url ( #3609 )
2020-09-29 16:16:57 +08:00
思忠
d9147d42c7
feat: export ErrorBoundary Component
2020-09-29 16:11:34 +08:00
狒狒神
a7e7875a3d
fix(rax-app): copy webpack plugin version ( #3606 )
2020-09-29 14:20:28 +08:00
狒狒神
41951417a6
feat(rax-app): support public dir ( #3601 )
...
* refactor: rax app project
* refactor: rax app project
* fix: rax app deps (#3573 )
* chore: lint
* chore: lint
* chore: rename mode name
* feat(rax-app): support build weex app (#3578 )
* chore: rename mode name
* feat: support weex
* feat: support weex
* chore: optimize code
* chore: remove useless code
* chore: optimize code
* chore: optimize code
* feat(rax-app): support build miniapp (#3593 )
* feat: support weex
* feat: support weex
* chore: optimize code
* chore: remove useless code
* feat: support build kraken app
* chore: optimize code
* chore: optimize code
* chore: optimize progress bar
* chore: optimizi web dep
* feat: support miniapp
* feat: support miniapp
* chore: update dep
* refactor: output file
* fix: assets output path
* fix: add dep
* chore: remove DS_Store files
* feat: support public dir
* feat: add registerUserConfig
Co-authored-by: chenbin92 <chenbinbin.cb@alibaba-inc.com>
2020-09-28 22:04:14 +08:00
chenbin92
e0b150c925
feat: refactor store ( #3555 )
...
* chore: nested page with store example
* chore: add index.html
* feat: support nested layout
* chore: update nested-store example
* chore: remove jest config
* docs: update store guide
* Feat: support create app store (#3590 )
* chore: typo
Co-authored-by: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
Co-authored-by: luhc228 <luhengchang228@gmail.com>
2020-09-28 21:49:59 +08:00
狒狒神
907546003e
feat: the next rax app framework
2020-09-28 20:54:38 +08:00
chenbin92
d2c5df448b
feat: support set html in mpa mode ( #3566 )
...
* feat: support set html in mpa mode
* chore: update mpa example
* chore: code optimize
2020-09-28 12:28:48 +08:00
Hengchang Lu
d1be342e78
hotifx: store is undefined in class component ( #3579 )
2020-09-25 15:53:44 +08:00
fushen
48ebf88ed6
chore: improve miniapp docs
2020-09-14 11:07:57 +08:00
fushen
021017ba37
chore: add deprecated tip
2020-09-14 10:58:19 +08:00
fushen
91b417306d
chore: resolve conflict
2020-09-11 14:12:19 +08:00
fushen
166d2afa3a
refactor: getSearchParams design
2020-09-10 19:56:56 +08:00
chenbin92
2e6be4951e
feat: webpack dev mock ( #3516 )
...
* feat: webpack dev mock
* chore: optimize code
2020-09-10 16:06:33 +08:00
狒狒神
9e3d73df41
chore(miniapp): refactor miniapp project with miniapp-runtime-config ( #3469 )
2020-09-02 16:14:41 +08:00
fushen
42e3d76f35
fix: add public dir
2020-08-21 21:16:50 +08:00
狒狒神
821af53150
feat: support store ( #3442 )
2020-08-21 17:56:26 +08:00
chenbin92
8bbf0bc926
feat: icejs web app ( #3454 )
2020-08-20 14:34:59 +08:00
chenbin92
313423feb9
fix: load module to run before createApp ready ( #3447 )
2020-08-18 09:28:30 +08:00
f00bar
fba2e77482
fix: todos miniapp getUserInfo ( #3421 )
2020-08-13 10:48:54 +08:00
思忠
0f5fa9b232
fix: export history instance with icestark
2020-08-10 21:40:59 +08:00
chenbin92
ae042f72ff
chore: publish raxjs ( #3401 )
2020-08-07 14:28:21 +08:00
chenbin92
974e0a0152
feat: support use react write miniapp ( #3393 ) ( #3344 )
2020-08-06 17:48:19 +08:00
f00bar
105a496f68
chroe: add todos example for miniapp ( #3396 )
2020-08-06 00:22:47 +08:00
f00bar
df9fa58182
fix: function as parameter in useRequest ( #3389 )
2020-08-04 22:59:10 +08:00
f00bar
82ef26dd4f
fix: escape the beginning $ in jest moduleNameMapper ( #3367 )
2020-07-29 23:44:10 +08:00
chenbin92
7cdd928119
fix: compatible model is empty ( #3325 )
2020-07-09 10:57:39 +08:00
chenbin92
4087a5a5b4
feat: support ts type chcker on a separate process ( #3314 )
...
* feat: support ts type chcker on a separate process
* feat: add tsChecker options
* docs: update build docs
* fix: rename typings.d.ts
2020-07-02 11:46:58 +08:00
chenbin92
f4c5bd3708
fix: auth error with lazy ( #3307 )
2020-06-30 10:32:45 +08:00
chenbin92
629fc79fef
feat: support --mpa-entry ( #3299 )
...
* feat: support mpa-entry
* fix: detect mpa
* chore: add docs and example
2020-06-30 10:32:44 +08:00
Hengchang Lu
c84011a98a
Feat: support prerender ( #3252 )
...
* feat: init plugin-prerender
* feat: support minify and renderer
* feat: add example
* feat: support mpa prerender
* fix: fix entryName
* docs: add prerender docs
* docs: add README.md
* docs: update docs
* fix: fix by the comment
* fix: fix ci problem
* fix: fix ci problem
* fix: fix by the comment
* docs: update docs
* docs: update docs
* docs: update docs
* v1.6.0-alpha.0
* docs: add nginx deploy docs
* docs: optimize
* docs: update prerender docs
Co-authored-by: 思忠 <chenbinbin.cb@alibaba-inc.com>
2020-06-22 14:48:13 +08:00
思忠
a9c4836d3c
fix: remove unnecessary file
2020-06-11 11:20:19 +08:00
思忠
19323d94bf
Merge branch 'master' into release-next
2020-06-08 12:31:11 +08:00
chenbin92
a2d991b001
Feat/enhance useRequest ( #3243 )
...
* feat: integration ahooks useRequest
* refactor: useRequest types
* chore: fix lint
* refactor: rename template
* docs: add useRequest api
* feat: useRequest test (#3247 )
* feat: setup test environment
* feat: add request test
* feat: add useRequest test
* fix: remove codecov.yml
* fix: exclude test in tsconfig
* fix: ci scripts
* chore: optimize code
* refactor: workflows
* fix: add react-test-renderer deps
* feat: useRequest test case
* feat: codecov ci
* chore: optimize code
* chore: update yarn lock
2020-06-08 09:49:38 +08:00
chenbin92
5e85122f0e
fix: ignore dot file ( #3248 )
...
* fix: ignore dot file
* fix: match rule
2020-06-04 10:26:42 +08:00
chenbin92
fa8637f414
feat: support disable runtime ( #3253 )
...
* feat: support disable runtime
* docs: add disableRuntime api
* fix: optimize code
2020-06-02 19:38:59 +08:00
chenbin92
78dd76a2cf
fix: icestark Suspense fallback ( #3256 )
2020-06-02 19:38:31 +08:00
思忠
dc261f2dd1
fix: add template dir and optimize docs
2020-06-02 11:09:50 +08:00
chenbin92
a6816ec50b
feat: support React Refresh ( #3201 )
2020-05-25 11:21:42 +08:00
chenbin92
584a0521e8
fix: lint
2020-05-25 08:57:18 +08:00
chenbin92
df4e677a4c
feat: plugin auth ( #3215 )
...
* feat: initial plugin-auth
* feat: support withRole
* feat: support pageConfig setRole
* feat: basic-auth example
* fix: add fs-extra
* docs: add auth guide
* chore: optimize variable
* fix: typo
* feat: add types
* docs: update auth docs
* refactor: optimize api
* docs: update description
* docs: optimize
2020-05-22 13:58:39 +08:00
chenbin92
b1cb26d5bb
refactor: store getInitialStates deprecated ( #3222 )
...
* refactor: store getInitialStates deprecated
* fix: lint
* fix: getInitialStates order
* fix: lint rule
* docs: update getInitialData api
2020-05-22 13:58:14 +08:00
chenbin92
2b4ec301f4
feat: allow creating multi request instances ( #3216 )
...
* feat: allow creating multi request instances
* docs: update request
* fix: compatibility data is empty
* refactor: rename to instanceName
* fix: typo
2020-05-21 14:06:25 +08:00
chenbin92
c8bcd14c84
feat: enhance use request types ( #3195 )
...
* feat: enhance useRequest types
* chore: remove comments
* docs: useRequest usage
* v1.2.2-alpha.2
* docs: add withFullResponse api
* docs: refactor request docs
* chore: typo
* chore: useRequest docs
* docs: fix typo
* docs: optimize title
2020-05-14 13:23:57 +08:00
chenbin92
9442e9b931
feat: support route wrappers ( #3189 )
...
* feat: support route wrappers
* feat: support pageConfig wrappers
* refactor: wrappers api
* docs: add wrappers api to ruotes
* fix: destructuring routes
2020-05-12 14:02:39 +08:00
chenbin92
469d4cee03
feat: support promise function with useRequest ( #3188 )
2020-05-11 09:57:18 +08:00
思忠
88656e076e
fix: compatible with the index page
2020-05-10 00:53:37 +08:00
ClarkXia
2df7a22a59
chore: update lint rules ( #291 )
2020-04-27 16:17:55 +08:00
chenbin92
1e566c905a
refactor: rename eslintLoaderOptions to eslint ( #290 )
...
* refactor: rename eslintLoaderOptions to eslint
* feat: support eslint boolean
2020-04-27 16:06:05 +08:00
chenbin92
a0d29ed55f
Revert "feat: useRequest support fn ( #268 )" ( #288 )
...
This reverts commit 62052efed4ff7f5d909ff877babd86083cca54d6 [formerly 1c2d80a1e8
].
2020-04-27 14:42:57 +08:00
chenbin92
740b6b35b9
feat: support register provider with mpa ( #283 )
2020-04-27 12:03:31 +08:00
chenbin92
d18d841168
fix: interceptor config is optional ( #284 )
2020-04-27 11:33:55 +08:00
chenbin92
d0cb8bc128
feat: built-in eslint loader( #265 )
2020-04-26 15:32:45 +08:00
chenbin92
1c48d3c981
feat:support parse query params ( #261 )
...
* chore: update version
* feat: parse query params
* feat: add query-string
* feat: export useQueryParams API
* feat: export withQueryParams API
* chore: update example
* refactor: rename to searchParams
2020-04-26 15:16:40 +08:00
chenbin92
a2e17db3ce
feat: detect page is export default ( #277 )
...
* feat: detect page is export default
* fix: condition
2020-04-24 14:05:17 +08:00
许文涛
1d454671c0
feat: useRequest support fn ( #268 )
2020-04-24 10:19:43 +08:00
chenbin92
9f97e10eaf
Release v1.1.9
...
* fix: file path formats on Windows (#270 )
* fix: compatible single file page (#275 )
* v1.1.9
2020-04-23 16:57:43 +08:00
chenbin92
8b5bf55743
fix: pass props to component ( #256 )
2020-04-20 16:55:12 +08:00
chenbin92
61ed17dcb3
chore: update store example ( #249 )
2020-04-20 10:18:25 +08:00
许文涛
5802e3ad0c
Merge pull request #248 from ice-lab/refactor/remove-component-model-logic
...
refactor: remove component model logic
2020-04-20 10:14:04 +08:00
chenbin92
3196f012e1
fix: remove dependent component name ( #246 )
...
* refactor: remove dependent component name
* chore: fix lint
* chore: remove empty line
2020-04-20 10:11:26 +08:00
思忠
e2b5e0e273
refactor: remove component model logic
2020-04-20 00:20:49 +08:00
chenbin92
a787dd099b
feat: support lazy store ( #236 )
...
* feat: support lazy store
* feat: support component model
* fix: typo
* feat: support store api
* chore: lazy example
* feat: add babelPluginReplacePath
* feat: replace router component path
* feat: add getRoutes util
* feat: support custom routes path
* feat: support replace custom alias
* fix: only transform Import node
* fix: alias key
* fix: only transform pages
* fix: set default alias
* fix: match pages
* fix: calculate relative path
Co-authored-by: 许文涛 <alvin.hui@qq.com>
2020-04-17 12:13:37 +08:00
许文涛
c85e2491bc
feat: support service ( #230 )
2020-04-17 11:09:35 +08:00
chenbin92
3a9d942cda
feat: support ErrorBoundary ( #233 )
2020-04-16 21:41:23 +08:00
许文涛
ec5a1108ca
feat: RML plugin ( #160 )
2020-04-13 23:02:20 +08:00
思忠
d782fff1cd
chore: update examples
2020-04-07 23:45:00 +08:00
思忠
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
思忠
ca3fa80519
chore: optimize
2020-04-07 17:05:38 +08:00
思忠
b736d20c28
chore: update example
2020-04-07 16:19:09 +08:00
思忠
7eaa882da4
refactor: export store types
2020-04-07 15:41:51 +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
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
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
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
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
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
思忠
309898e2eb
chore: update example
2020-03-27 18:57:14 +08:00
chenbin92
3a937d379b
chore: fix lint ( #183 )
2020-03-27 18:54:23 +08:00
chenbin92
728e18c3ab
Feat/enhance request ( #161 )
...
* feat: enhance request
* refactor: load module time (#174 )
* refactor: load module
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2020-03-27 16:42:58 +08:00
chenbin92
dca7ccde61
chore: fallback example ( #169 )
2020-03-26 18:06:00 +08:00
chenbin92
2b88dd9625
fix: semicolons is required ( #162 )
2020-03-26 17:17:09 +08:00
ClarkXia
719b22dcb5
fix: request type ( #151 )
2020-03-24 15:34:07 +08:00
ClarkXia
6ecf9a3234
fix: pending request until ssr server is ready ( #150 )
2020-03-24 13:26:41 +08:00
ClarkXia
507b50f227
fix: mock is not effective when use ssr ( #145 )
2020-03-23 16:54:05 +08:00
chenbin92
077fb17dc6
Release ( #125 )
...
* chore: release v1.1.0
* feat: support ssr (#117 )
* feat: support update apps in layout (#126 )
* fix: wrapper route component with suspense (#112 )
* fix:keep classnames and fnames when minifying (#119 )
* fix: compatible with pages folder (#124 )
* fix: config entry is not effective (#134 )
2020-03-20 23:54:15 +08:00
chenbin92
01e8306273
fix: compatible with lazy ( #96 )
...
* chore: upgrade icestore version (#90 )
* chore: remove unnecessary code
* fix: icestore version
* fix: compatible with lazy
2020-03-12 21:02:03 +08:00
chenbin92
7bb8c703ef
fix: ts types ( #102 )
...
* fix: request types
* refactor: add icestark types
* refactor: add types to example
2020-03-11 18:52:27 +08:00
chenbin92
8fae66d1ae
chore: update basic-mpa example ( #103 )
...
* chore: upgrade icestore version (#90 )
* chore: remove unnecessary code
* fix: icestore version
* chore: update basic-mpa example
* chore: update yarn lock
* chore: code optim
2020-03-11 18:09:04 +08:00
思忠
bc9cf7ecb3
chore: fix example
2020-03-06 23:02:43 +08:00
chenbin92
62e2bf5038
fix: router lazy ( #86 )
2020-03-06 20:24:08 +08:00
ClarkXia
8026a3f3f3
feat: support mpa ( #82 )
...
* feat: support mpa
* fix: generate empty routes file
* fix: set mpa plugin as build-in
* fix: register mpa config
* chore: example link of codesandbox
2020-03-06 14:58:47 +08:00
大果
5829234da2
refactor: store example ( #81 )
...
* refactor: store example
* chore: remove spa-base example
* refactor: better store example
2020-03-05 16:51:27 +08:00
思忠
1a0ea6b849
chore: add lazy example
2020-02-27 21:41:30 +08:00
chenbin92
ff33657113
feat: code splitting routers with React Lazy ( #59 )
...
* feat: code splitting routers with React Lazy
* refactor: use suspense options
* feat: add webpackChunkName
* refactor: lazy config optim
* feat: support buildConfig in runtime module
* fix: remove logger config
2020-02-26 22:54:02 +08:00
ClarkXia
79247651f3
feat: enhance config of plugin-react-app ( #52 )
...
* feat: support terserOptions
* feat: support compileDependencies
* feat: support css options
* feat: babel options
* fix: babel config
* feat: support modeConfig
* fix: default value
* fix: support modeConfig in react-app
2020-02-26 21:28:22 +08:00
chenbin92
4acfeeea90
feat: add awesome examples ( #62 )
...
* fix: add ice.js to devDependencies
* chore: add sandbox config
* chore: add hello-world example
* fix: build config
* chore: add basic-store example
* chore: add basic-request example
* chore: add with-fusion-design example
* chore: examples optim
* docs: update readme
* docs: remove example link
2020-02-26 16:58:08 +08:00
chenbin92
5cfb787e98
refactor: modify logger and AddProvider config ( #30 )
...
* refactor: modify logger and AddProvider config
* chore: update example
2020-02-19 20:41:06 +08:00
chenbin92
0841487c75
refactor: remove useApp ( #27 )
...
* refactor: remove useApp hooks
* refactor: update examples
2020-02-19 20:17:41 +08:00
ClarkXia
ead6db96be
Merge branch 'release/1.0.5' into refactor-config
2020-02-18 19:54:00 +08:00
ClarkXia
7a9542a285
feat: refactor plugin config
2020-02-18 19:36:04 +08:00
思忠
c3760025a7
fix: add pages alias
2020-02-18 16:56:10 +08:00
思忠
b8652ce094
refactor: export global store from ice
2020-02-18 14:52:29 +08:00
思忠
421c0a624d
chore: add icestore example
2020-02-17 20:39:07 +08:00
思忠
a2078932b5
feat: the Provider support initialState properties
2020-02-17 20:15:29 +08:00
思忠
2551d6438b
fix: change models to model
2020-02-17 17:13:38 +08:00
思忠
19a30ebed6
fix: remove plugin-request in spa-basic example
2020-02-17 11:31:20 +08:00
思忠
eebd118c7e
feat: initial project
2020-02-13 23:14:08 +08:00