Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getElementByIdとquerySelector #437

Closed
azu opened this issue Apr 3, 2018 · 2 comments
Closed

getElementByIdとquerySelector #437

azu opened this issue Apr 3, 2018 · 2 comments

Comments

@azu
Copy link
Collaborator

azu commented Apr 3, 2018

ユースケースに出てくる 要素を取得するDOMの利用方法は統一するべきかどうか。

  • getElementById
  • querySelector

が登場している。
無理にまとめる必要はあまりないけど

@azu azu added the Type: Meta label Apr 3, 2018
@azu
Copy link
Collaborator Author

azu commented May 5, 2018

#4 TodoアプリはCSSの説明でセレクタをすごい簡単にしているので、
全部 querySelector にすることにした。

https://asciidwango.github.io/js-primer/use-case/todoapp/app-structure/#comment-class-for-css

@azu
Copy link
Collaborator Author

azu commented May 17, 2018

これはこのまま別々で

@azu azu closed this as completed May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant