Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挭 Improve reusing component props in another component #15

Closed
jd-solanki opened this issue Sep 18, 2022 · 1 comment
Closed

馃挭 Improve reusing component props in another component #15

jd-solanki opened this issue Sep 18, 2022 · 1 comment

Comments

@jd-solanki
Copy link
Owner

jd-solanki commented Sep 18, 2022

At the moment, we are reusing/passing component props in another component. E.g. We are resuing ATypography props in many components however, we don't have a solid API/composable/method to reuse them in a safe way with DRY.

We also have some duplicate code (unsynced) in some components list AList were resolving this will simplify the code base.

Reference
vuejs/composition-api#628

@jd-solanki
Copy link
Owner Author

We also have to improve component usage composable:
https://github.com/jd-solanki/anu/blob/main/packages/anu-vue/src/composables/useTypography.ts#L46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant