Components Library with Vite & Storybook 👨‍💻 Develop an App from Scratch (Part 8)

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 3

  • @BodyBuilder-e9k
    @BodyBuilder-e9k 19 днів тому

    I have tried in my local and published it but after installing in test project getting error like, Cannot read the properties of null ( reading useContext ).
    But believe me there is no useContext used in my project.
    After that i installed other react component libraries from npmjs but they are also giving same issue, even after installing all peer and dependencies. Any solution for this ?

  • @carolbaroud8856
    @carolbaroud8856 4 місяці тому

    First of all thanks for the video!
    I'm getting an error, how can I solve this please? Module './components/button/button' was resolved to /components-ui/src/components/button/button.tsx', but '--jsx' is not set.

    • @carolbaroud8856
      @carolbaroud8856 4 місяці тому

      it is a DTS plugin incompatibility with the new ViteJS version.