feat: composable primitive components #4802
ci.yaml
on: pull_request
Matrix: analyze-bundle
bundle-analyze-result
1m 46s
Annotations
10 errors and 1 warning
lint:
packages/react/src/components/primitive/allowed-content.tsx#L11
This assertion is unnecessary since it does not change the type of the expression
|
lint:
packages/react/src/components/primitive/allowed-content.tsx#L31
Do not pass children as props. Instead, nest children between the opening and closing tags
|
lint:
packages/react/src/components/primitive/allowed-content.tsx#L38
Type literal only has a call signature, you should use a function type instead
|
lint:
packages/react/src/components/primitive/button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
|
lint:
packages/react/src/components/primitive/button.tsx#L42
Unsafe call of an `any` typed value
|
lint:
packages/react/src/components/primitive/button.tsx#L79
Type literal only has a call signature, you should use a function type instead
|
lint:
packages/react/src/components/primitive/clear-button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
|
lint:
packages/react/src/components/primitive/clear-button.tsx#L32
Unsafe call of an `any` typed value
|
lint:
packages/react/src/components/primitive/clear-button.tsx#L37
Do not pass children as props. Instead, nest children between the opening and closing tags
|
lint:
packages/react/src/components/primitive/clear-button.tsx#L43
Type literal only has a call signature, you should use a function type instead
|
lint:
packages/react/src/components/primitive/root.tsx#L295
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useMemo call and refer to those specific props inside useMemo
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bundle-current-pr
|
45.2 KB |
|
bundle-main
|
45.2 KB |
|