Skip to content

Bundle Size is really big, Better to get Rid of Mantine Lib and write our own code #286

Closed

Description

@ursnj

Describe the bug

Bundle Size is really big, Better to get Rid of Mantine Lib and write our own code

To Reproduce

Build the project and see the output with and without blocknote.

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

  1. YousefED commented on Jul 30, 2023

    @YousefED
    Collaborator

    @ursnj I think this is good feedback. It would make sense to extract the Mantine code, and make it available as a separate package (e.g.: blocknote-react-mantine).

    We could then also support different UI frameworks in different packages. Would be interesting to hear what UI libraries people might be interested in. For example:

    Imo these would also be great candidates for the community to collaborate on!

  2. horacioh commented on Jul 30, 2023

    @horacioh
    Contributor

    I'm vote for changing to either React Spectrum or Ariakit...

    the main issue here I believe is balance supporting a cleaner and accessible solution and a headless/no styles solution for folks who want to adapt to their app styles...

    not sure what is the best approach yet..

  3. ursnj commented on Aug 6, 2023

    @ursnj
    Author

    @YousefED Shadcn also promising in this kind of cases, as it exposes independent components and fully accesible, we can only bundle the components we are using so it will be more independent and bundle size is absolutely lean.

    https://ui.shadcn.com/

  4. NiluK commented on Aug 7, 2023

    @NiluK

    yeah shadcn is ideal imo

  5. gooooooooney commented on Aug 11, 2023

    @gooooooooney

    I think shadcn is cool

  6. meetshukla commented on Aug 29, 2023

    @meetshukla

    shadcn would be the best for this type of application

  7. florisbosch commented on Sep 16, 2023

    @florisbosch

    +1 for this 👍
    shadcn is awesome

  8. horacioh commented on Oct 23, 2023

    @horacioh
    Contributor

    It seems that chadcn is the most popular answer here. I would like to understand how are you using it in your apps? because as far as I know this is not a real NPM UI Library but a set of "examples" you need to copy paste into your app.

    am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions