nocobase/packages/samples/ratelimit
chenos e6a2a292b3
feat: upgrade formily (#1880)
* feat: upgrade formily

* fix: upgrade @formily/json-schema

* fix: optimizing performance

* fix: performance code

* refactor: `React.memo` and `observer` component add `displayName` property

* fix: add cache to Schema.compile

* feat: 优化代码

* fix: 修复卡顿最终的问题

* Update SchemaComponentProvider.tsx

* feat: 再次优化代码

* feat: optimized code

---------

Co-authored-by: dream2023 <1098626505@qq.com>
2023-06-06 19:33:04 +08:00
..
src feat: upgrade formily (#1880) 2023-06-06 19:33:04 +08:00
client.d.ts
client.js
package.json chore(versions): 😊 publish v0.9.4-alpha.2 2023-05-26 17:05:46 +08:00
README.md
server.d.ts
server.js

Rate limiter middleware sample

Register

yarn pm add sample-ratelimit

Activate

yarn pm enable sample-ratelimit

Launch the app

# for development
yarn dev

# for production
yarn build
yarn start

Demo

[gif]