fix(FormList): sync store before setState to handle React 17 batching behavior #5569
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Compressed Size | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| compressed-size: | |
| runs-on: ubuntu-latest | |
| if: startsWith(github.head_ref, 'release/') | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| - uses: preactjs/compressed-size-action@v2 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| install-script: "pnpm install" | |
| pattern: "packages/tdesign-react/dist/**/*.{js,css}" |