GithubHelp home page GithubHelp logo

diary-web-app's People

Contributors

river9028 avatar

Watchers

 avatar

diary-web-app's Issues

과제에 대한 질문

1

export default function useContents(target: string, start: Date, end: Date, tags: string[]) {

return { [target]: content };

이 hook의 시그니처(입력과 출력)에 대해 의도를 설명해주실 수 있나요? 구체적으로는,

  1. 입력 값 target: string, start: Date, end: Date, tags: string[] 각각의 의미와 역할/의도에 대해 설명해주실 수 있나요?
  2. target을 key로 content를 리턴하도록 한 의도를 설명해주실 수 있나요?

2

const isTagsEmpty = (
callback: () => firebase.firestore.Query<firebase.firestore.DocumentData> | undefined,
tags: string[],
) => {

이 함수의 목적, 그리고 시그니처와 함수의 이름에 대해 설명해주실 수 있나요?

3

...(contentObj.data() as Diary),

위 부분에서 Type Casting을 사용하지 않고, snapshot.data()메소드의 리턴 타입을 정의할 수 있을까요?

4


해당 메소드를 콜하는 목적이 무엇인지 설명해주실 수 있나요?

5

const DetailTitle: React.FC = ({ children, ...restProps }) => {
return <Title {...restProps}>{children}</Title>;
};
Detail.Title = DetailTitle;

위 선언은 어떠한 목적을 가진 선언인가요? 또는,

Detail.Title = Title; 

과 어떤 점이 다를까요?

6

import Firebase from 'firebase/app';

위 파일과 같이, jsx 문법을 사용하지 않은 파일도 tsx 확장자를 사용하고 있는 이유를 설명해주실 수 있으신가요?

7

아이디어가 있었으나 시간관계상 구현하지 못한 부분이 있나요? 혹은 현재 코드에서 가장 개선하고 싶은 부분이 있다면 그 아이디어는 무엇인가요?

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.