Giter Club home page Giter Club logo

blood-buddy-react's Introduction

Hi there ๐Ÿ‘‹

Visit my website for more information.

blood-buddy-react's People

Contributors

dhrjarun avatar

Stargazers

 avatar  avatar

Watchers

 avatar

blood-buddy-react's Issues

bug in react-hook-form password confirm

bug is:
you have two field, one is password and another is field for confirming the password. first enter the password, and then enter the same password on the confirm field.
if the passwords are same no error will be on the confirm password field, if they are not same, error will be on the confirm password filed.

but lets say you've entered passwords on the both field, and then you go the password filed and changed the password, there will be no error on the confirm password field this is the error.

Migrate to monorepo

first migrate to yarn

then either user yarn workspace with lerna or use Nx

add sound effect on themswitcher button

use "use-sound" hook to add sound effect to themeSwitcher button so that, if it gets clicked the switched will play.

created a branch for that "fix/theme-switcher-fx", add the futer inside that branch and merge,
have added the sfx file, already

head some error while importing the sound file so stopped implementing it. find the solution and do the job..

useStyles hook of chakra-ui is not working

Location of problem

I found the problem inside of Avatar Component, Avatar component has a StylesProvider in it, consumer of this is AvatarBadge, so when I call useStyles hook inside of AvatarBadge Component it throw an error.

ContextError: useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` 
    at avatar-badge.tsx:18:1
    at renderWithHooks (react-dom.development.js:16175:1)
    at updateForwardRef (react-dom.development.js:20023:1)
    at beginWork (react-dom.development.js:22465:1)
    at beginWork$1 (react-dom.development.js:27381:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
    at renderRootSync (react-dom.development.js:26390:1)
    at performSyncWorkOnRoot (react-dom.development.js:26041:1)
    at flushSyncCallbacks (react-dom.development.js:12009:1)

One more thing to note, In the react dev tools it is showing that AvatarBadge is being wrapped with StyleProvider and everything is working there

some hints to resolve

This could be the error of node_modules, I deleted it and then reinstalled everythinng but got no fix

Setting up Storybook in the root

Description

Setting up the storybook in root of the repo will be great instead of setting up in every package which needs. This way will also able to put all the components in a single storybook host. Otherwise will have to start more than one storybook host.

Problems

I tried setting it up by running npx storybook init, but it is throwing so many errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.