mirror of https://github.com/alibaba/ice.git
26 lines
394 B
Markdown
26 lines
394 B
Markdown
# with-keep-alive
|
|
|
|
Experimental keep-alive with React 18 `<Activity />`.
|
|
|
|
## How to debug
|
|
|
|
First of all, publish the package to the yalc repo.
|
|
|
|
```bash
|
|
$ cd packages/ice && yalc publish --push
|
|
|
|
$ cd packages/runtime && yalc publish --push
|
|
```
|
|
|
|
Then, install the example dependencies.
|
|
|
|
```bash
|
|
$ cd examples/with-keep-alive
|
|
|
|
$ yalc add @ice/app @ice/runtime
|
|
|
|
$ yarn install
|
|
|
|
$ npm run start
|
|
```
|