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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace @headlessui/react with all shadcn/ui library components for better efficiency #259

Open
ashrafchowdury opened this issue Jan 28, 2024 · 2 comments
Assignees

Comments

@ashrafchowdury
Copy link
Contributor

Description

Currently, papermark project utilizes the @headlessui/react library for Dropdown and Disclosure components across various UI elements. However, we have an alternative library, shadcn/ui, already integrated into the project, providing similar functionality with no additional installation requirements. This enhancement proposes replacing @headlessui/react components with their counterparts from shadcn/ui to streamline the codebase, reduce application size, and declutter dependencies.

Benefits

  • Reduced Application Size: By eliminating the dependency on @headlessui/react, we can reduce the overall size of the application bundle.
  • Project Simplification: Utilizing components from a single UI library simplifies maintenance and reduces the cognitive load for developers.
  • Consistency: Ensuring consistency across UI components enhances user experience and improves code maintainability.
  • Optimized Performance: With reduced dependencies, the application's performance may see marginal improvements, especially in load times and rendering efficiency.
@FurquanAnwer
Copy link

Please assign this issue to me!

@mfts
Copy link
Owner

mfts commented Feb 1, 2024

@FurquanAnwer happy for you to take this one :)

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

3 participants