Juliette:RxJS支持的React状态管理库

Juliette是一个受到React启发的状态管理库。它减少了Redux样板代码,消除了reducer中的条件分支,简化了配置,并将类似NgRx的架构引入了与框架无关的应用中。Juliette是一个TypeScript友好的库,可以在Angular、React或任何JavaScript应用程序中使用。Juliette通过将操作和reducer合并到一个称为处理程序的组件中,减少了Redux的样板代码。为了更好地理解处理程序的优势,先来看一下如何使用NgRx定义actions和reducers。旧的NgRx方法如下所示:// users.actions.ts export
zip
juliette-master.zip 预估大小:84个文件
folder
juliette-master 文件夹
file
.travis.yml 151B
file
.eslintrc 1KB
folder
images 文件夹
file
juliette-architecture.png 50KB
file
juliette-in-action.gif 123KB
folder
branding 文件夹
file
juliette-logo.svg 3KB
file
package.json 2KB
file
.prettierrc 178B
file
angular.json 4KB
file
LICENSE 1KB
file
package-lock.json 537KB
file
.lintignore 48B
file
tsconfig.json 806B
file
.gitignore 556B
file
README.md 18KB
folder
scripts 文件夹
file
publish.ts 483B
file
paths.ts 280B
file
tsconfig.json 56B
file
build.ts 825B
file
update-version.ts 2KB
folder
projects 文件夹
folder
juliette-react 文件夹
file
.eslintrc 95B
file
package.json 595B
folder
src 文件夹
file
public-api.ts 61B
folder
lib 文件夹
file
contexts.ts 142B
file
hooks.ts 1KB
file
tsconfig.json 189B
file
README.md 952B
folder
juliette 文件夹
file
package.json 722B
folder
src 文件夹
file
public-api.ts 188B
folder
lib 文件夹
file
helpers.ts 240B
file
log.ts 799B
file
store.ts 2KB
file
handlers.ts 930B
file
effects.ts 341B
file
selectors.ts 780B
file
constants.ts 71B
file
operators.ts 1023B
file
models.ts 695B
file
tsconfig.json 183B
folder
juliette-ng 文件夹
file
tsconfig.lib.json 387B
file
package.json 616B
file
ng-package.json 219B
folder
src 文件夹
file
public-api.ts 74B
folder
lib 文件夹
file
tokens.ts 521B
file
effects.mapper.ts 803B
file
effects.module.ts 856B
file
store.module.ts 1KB
file
tsconfig.lib.prod.json 153B
file
README.md 932B
folder
playground-ng 文件夹
file
tsconfig.app.json 198B
folder
src 文件夹
folder
assets 文件夹
folder
.gitkeep 文件夹
file
index.html 322B
folder
app 文件夹
folder
feature1 文件夹
file
feature1-routing.module.ts 351B
file
feature1.component.ts 1KB
folder
store 文件夹
file
feature1.selectors.ts 496B
file
feature1.handlers.ts 329B
file
feature1.effects.ts 453B
file
index.ts 224B
file
feature1.module.ts 726B
folder
core 文件夹
folder
models 文件夹
file
user.model.ts 42B
folder
resources 文件夹
file
users.resource.ts 401B
file
package.json 819B
file
app.module.ts 780B
folder
containers 文件夹
file
users.component.ts 788B
folder
feature2 文件夹
file
feature2.module.ts 726B
file
feature2-routing.module.ts 351B
file
feature2.component.ts 954B
folder
store 文件夹
file
feature2.handlers.ts 329B
file
feature2.effects.ts 453B
file
index.ts 224B
file
app.component.ts 397B
file
app-routing.module.ts 656B
folder
store 文件夹
folder
handlers 文件夹
file
users.handlers.ts 585B
file
index.ts 70B
folder
effects 文件夹
file
users.effects.ts 792B
folder
selectors 文件夹
file
users.selectors.ts 330B
file
index.ts 35B
file
index.ts 175B
file
styles.scss 113B
file
main.ts 375B
file
polyfills.ts 3KB
folder
environments 文件夹
file
environment.ts 663B
file
environment.prod.ts 52B
file
favicon.ico 948B
file
.browserslistrc 853B
...
zip 文件大小:323.41KB