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

【開発】Typescript + React に変更する #26

Closed
Jastin-Infj opened this issue Jun 7, 2023 · 4 comments
Closed

【開発】Typescript + React に変更する #26

Jastin-Infj opened this issue Jun 7, 2023 · 4 comments
Labels
question Further information is requested Todo Tasks to be done. Close "Issue" when completed.

Comments

@Jastin-Infj
Copy link
Owner

Jastin-Infj commented Jun 7, 2023

Javascript のみでも動くが、大規模になっていくにつれて引数の型が分からなくなってしまう。
いちいち、console.log を打って動作を確認する必要が出てくる可能性がある。
また、時間が立った後に、コードが読みづらくなってしまうのを少しでも減らすため
React で 型を定義するのは面倒だが、後々Reactを触るにつれて、型がわかっていれば、React の内部ライブラリを読めるのが大きいと判断。

@Jastin-Infj Jastin-Infj added the Todo Tasks to be done. Close "Issue" when completed. label Jun 7, 2023
@Jastin-Infj
Copy link
Owner Author

Jastin-Infj commented Jun 8, 2023

Typescript は導入出来たが、Vscodeが補完出来ない。
settings.jsonで無理やり無視する設定も可能だが、海外の動画や他のサイトを拝見するに
特に大きな問題にはなっていない。

原因の追求は明日まで行い、それでも無理な場合は警告を無視させる

@Jastin-Infj
Copy link
Owner Author

いろいろと試したが、結局 import で エラーになってしまう。
VsCode に issues を立てることにする

@Jastin-Infj
Copy link
Owner Author

Jastin-Infj commented Jun 8, 2023

投稿完了
リンクを貼ったら、公式と繋がってしまったため諦める

@Jastin-Infj
Copy link
Owner Author

#41 にマージしました

@Jastin-Infj Jastin-Infj removed the Merge wait not main marge label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Todo Tasks to be done. Close "Issue" when completed.
Projects
None yet
Development

No branches or pull requests

1 participant