nocobase/packages/samples/custom-block
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 feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
client.js feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
package.json chore(versions): 😊 publish v0.9.4-alpha.2 2023-05-26 17:05:46 +08:00
README.md feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
server.d.ts feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00
server.js feat: custom block sample (#867) 2022-09-30 12:38:38 +08:00

Hello sample

Register

yarn pm add sample-custom-block

Activate

yarn pm enable sample-custom-block

Launch the app

# for development
yarn dev

# for production
yarn build
yarn start

Demo

[gif]