Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>live-redux-templateNew to Visual Studio Code? Get it now.
live-redux-template

live-redux-template

zzyrand

|
229 installs
| (0) | Free
创建live-redux-hippy组件模板代码
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

live-redux-template README

功能

在live-redux-hippy框架内,一键生成组件代码,一键生成action->effect代码

快速上手:

1.安装

在vscode插件市场搜索 'live-redux-template' 并完成安装 avatar

2.一键生成组件代码

avatar 在选中的代码文件夹下右键菜单,点击创建 live-redux Component 菜单,按提示输入组件名称,会在选中的文件夹下生成组件的模板代码,如下图所示 avatar

Todo: connect.ts 文件里的 YourParentState 要替换成父组件的state

3.一键添加action

打开logic.ts文件,右键菜单,选择 avatar

4.根据action跳转到对应的effect代码位置

avatar

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft