ZeroLing
|
68fdcf8bc0
|
feat: impl onAppear and onDisappear
|
2022-11-14 19:17:53 +08:00 |
luhc228
|
51d0ac263a
|
feat: support set router basename (#195)
* feat: basename
* chore: remove routeMatch in server render middleware
* fix: use webpack-dev-server instead of express
* chore: remove resolutions
* chore: devDependencies order
* refactor: routeModules
* chore: lock
* fix: types
* chore: lock
* fix: comment
* fix: comment
* chore: remove webpack
|
2022-11-14 19:17:25 +08:00 |
luhc228
|
7e92e55e15
|
fix: csr load component module (#188)
* fix: csr load component module
* chore: comment
|
2022-11-14 19:17:25 +08:00 |
水澜
|
5af5199972
|
feat: preload data (#158)
* feat: data loader
* refactor: put load logic to runtime
* feat: pass matched ids
* refactor: reuse initial context
* feat: generate loader template
* fix: name with slash
* fix: name with slash
* feat: throw error
* feat: preload app data
* refactor: initail context to request context
* chore: add comment
* chore: add comment
* fix: type
* fix: merge conflict
* fix: types error
* fix: merge error
Co-authored-by: luhc228 <luhengchang228@126.com>
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
|
2022-11-14 19:17:10 +08:00 |
水澜
|
704247de1e
|
fix: csr hydrate error (#176)
* fix: csr hydrate error
* chore: demo for csr
* refactor: update route config
* fix: lint
* chore: update lock yaml
* fix: type
* refactor: pass app to document by context
* fix: lint
* chore: comment
* fix: type
* fix: do not overwrite title if not config
* chore: rename
Co-authored-by: luhc228 <luhengchang228@126.com>
|
2022-11-14 19:17:10 +08:00 |
大果
|
69c7ecb251
|
feat: support tree-shaking react-router deps when only one route (#86)
* feat: support tree-shaking react-router deps when only one route
* chore: optimize history API
* fix: typo error
* chore: make esbuild compile @ice/runtime add inject env vars
* chore: make esbuild compile @ice/runtime add inject env vars
* chore: resolve conflict
* feat: mock react-router api when disable router
* feat: env
* fix: test
* feat: support dotenv
* chore: add stringify
* chore: lock build-scripts
* feat: add removeHistoryDeadCode userConfig
* fix: duplicate register of routes
* fix: default value of define
* chore: optimize code
* fix: typo
* chore: upgrade react
* fix: code
* chore: optimize matchRoutes
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
|
2022-11-14 19:17:06 +08:00 |
ClarkXia
|
3590d723c7
|
chore: remove useless fallback which cause infinite reload (#166)
|
2022-11-14 19:16:51 +08:00 |
水澜
|
e0297618b1
|
refactor: route wrapper (#135)
* refactor: wrapper
* feat: support wrapper layout
* chore: demo for auth
* fix: typo
* fix: typo
* fix: typo
* fix: typo
* fix: typo
* feat: generate layout info when build
* refactor: wrapper for layout
* test: update snapshot for layout
* fix: typo
|
2022-11-14 19:16:51 +08:00 |
luhc228
|
a37b09a321
|
fix: fail to load latest module in ssr (#123)
* fix: fail to load latest module in server env
* chore: update desc
|
2022-11-14 19:16:17 +08:00 |
水澜
|
99e586bf7c
|
Feat nested routing (#112)
* feat: nested routing
* fix: update page config after navigate
* fix: initial value
* refactor: fn name
* feat: avoid load data for old route
* refactor: decoupling the dependency to page
* refactor: types for getConfig
* refactor: use prmomise
* chore: rename
* test: filter matched route
* chore: optimize types
* feat: support useAppData
* chore: just play
* chore: remove log
* chore: resolve conflict
* refactor: pages to routes
* fix: page to route
* refactor: merge value
Co-authored-by: liuxiong.lx <liuxiong.lx@alibaba-inc.com>
|
2022-11-14 19:16:12 +08:00 |
水澜
|
525142f9d4
|
refactor: hydrate document (#74)
* feat: update page config after link
* Rename Document.tsx to document.tsx
* chore: add comment
* test: routing
* fix: test utils of puppeteer page
* test: update pageconfig after route
* chore: add origin source
* fix: meta tag
* fix: add s
* feat: reuse the links already loaded
* refactor: hydrate document
* refactor: pass data by app context
* refactor: get assets in document
* refactor: pass app as children
* refactor: use app context
* revert: document
* refactor: pass document by app context
* Rename document.tsx to Document.tsx
* fix: hydrate error
* chore: add comment
* feat: toggle for ssr
* refactor: entry options
* refactor: merge simple functions
* feat: downgrade to csr
* refactor: ssr entry
* fix: file name
* fix: remove deadcode
* Rename generateHtml.ts to generateHTML.ts
* fix: remove deadcode
* fix: remove deadcode
* refactor: remove block scripts
* feat: pass ssr flag to csr
* fix: remove ssg flag
* fix: spelling
* refactor: pass ssr flag to hydrate
* chore: add todo for runtime
* fix: typo
* chore: add todo for load links
* chore: send html for send html
* refactor: remove config for custom rootId
* feat: load page assets
* feat: ssr config
* refactor: disable csr hydrate warning
* chore: add issue link
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
|
2022-11-14 19:15:29 +08:00 |
大果
|
4552afaec8
|
chore: refactor router (#58)
* chore: refactor router
* chore: add example
* fix: load all modules in first request
* fix: route module load
* chore: remove unused param
* fix: rerender twice
* fix: loadRouteModules params
Co-authored-by: luhc228 <luhengchang228@gmail.com>
|
2022-11-14 19:14:14 +08:00 |
shuilan.cj
|
785db8e0d1
|
refactor: less optional chaining
|
2022-11-14 19:13:50 +08:00 |
shuilan.cj
|
0cd671d76f
|
refactor: less optional chaining
|
2022-11-14 19:13:50 +08:00 |
shuilan.cj
|
641321ef60
|
fix: get route str
|
2022-11-14 19:09:42 +08:00 |
luhc228
|
de7ec7dfd3
|
feat: rewrite matchRoutes function
|
2022-11-14 19:08:44 +08:00 |
shuilan.cj
|
6ad921f5fb
|
refactor: rename route wapper to page wapper
|
2022-11-14 19:07:54 +08:00 |
shuilan.cj
|
bcf39baac2
|
refactor: fn name
|
2022-11-14 19:07:48 +08:00 |
shuilan.cj
|
93de986b94
|
refactor: load route data
|
2022-11-14 19:07:32 +08:00 |
luhc228
|
e7735ec588
|
feat: await chunk import in CSR (#35)
* chore: remove this is undefined in esm warning
* chore: remove plugin-router
* feat: merge render
* feat: merge defaultAppConfig
* feat: support redirect without lazy
* fix: redirect error
* fix: ssr render error
* feat: add transition file
* refactor: route
* chore: update transition
* refactor: transition
* chore: ProvidePlugin
* chore: remove console
* chore: add router-dom server reference
* feat: add PageContext
* fix: comment
* chore: BrowserEntry
* chore: comment
* chore: update lock
* chore: error
* chore: loadRoutesModules
* feat: initialContext types
|
2022-11-14 19:05:10 +08:00 |