ice/examples/with-keep-alive-react/README.md

26 lines
394 B
Markdown
Raw Permalink Normal View History

# 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
```