We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnableCSSHoudini가 사용처 필요에 따라 import 되고, 실행될 수 있도록 합니다.
EnableCSSHoudini
프론트 뿐만 아니라, Avatar를 사용하지 않는 모든 어플리케이션에서 PaintWorklet 관련 코드를 import 하고 실행하는 것은 낭비라고 생각합니다.
/* ~/src/index.ts */ /* Worklets */ export { default as EnableCSSHoudini } from '~/src/worklets/EnableCSSHoudini'
interface BezierProviderProps { foundation: Foundation & GlobalStyleProp children: React.ReactNode themeVarsScope?: ThemeVarsAdditionalType['scope'] smoothCorners?: boolean } function BezierProvider({ foundation, children, themeVarsScope, smoothCorners = true, }: BezierProviderProps) { EnableCSSHoudini({ smoothCorners }) return ( <FoundationProvider foundation={foundation}> <GlobalStyle foundation={foundation} /> <ThemeVars foundation={foundation} scope={themeVarsScope} /> { children } </FoundationProvider> ) }
The text was updated successfully, but these errors were encountered:
ex) AlphaBezierProvider
AlphaBezierProvider
Sorry, something went wrong.
feat(alpha-bezier-provider): implement AlphaBeizerProvider
81f72f1
implement AlphaBeizerProvider without EnableCSSHoudini BREAKING CHANGE: add new export AlphaBeizerProvider re channel-io#1301
FeatureProvider
dinohan
Successfully merging a pull request may close this issue.
Description
EnableCSSHoudini
가 사용처 필요에 따라 import 되고, 실행될 수 있도록 합니다.Reasons for suggestion
EnableCSSHoudini
의 유일한 목적은 smooth-conrer 입니다.프론트 뿐만 아니라, Avatar를 사용하지 않는 모든 어플리케이션에서 PaintWorklet 관련 코드를 import 하고 실행하는 것은 낭비라고 생각합니다.
Proposed solution
Option 1.
EnableCSSHoudini
를 별개로 export 하고, BezierProvider에서 호출 부분을 제거Option 2. FoundationProvider에 houdini 사용 여부를 결정하는 prop 추가
References
The text was updated successfully, but these errors were encountered: