Giter Club home page Giter Club logo

need-a-pill's Introduction

need-a-pill's People

Contributors

chorom-ham avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

need-a-pill's Issues

organisms/medicine-bottom-info/effects-and-dosages 의 state 문제

const [selected, setSelected] = useState(0);
selected라는 네이밍이 열고 닫힘을 나타냄이 잘 와닿지도 않고, 값이 0일 때 열렸는지 닫혔는지도 불명확해요!
또 참과 거짓이 분명한 상태를 표현하는데 number type을 사용할 이유가 없어요!
const [isOpen, setOpen] = useState(true);
로 바꿔보는건 어떨까요?
<ReadMoreButton onClick={() => setSelected(0)} isSelected={selected} title="Effects and Dosages" ></ReadMoreButton>
이 부분도 훨씬 세련되게 바꿀 수 있을거에요!

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.