エンジニアを目指す初学者に向けて、わかりやすく解説したブログです。
TypeScript

for文ではなくmap()を使って配列変換をしよう

map()を使うほうがシンプルかつ副作用がないコードを書くことができる。

【React】「このサイトを離れますか?」というダイアログを出す

Featured image of the post

beforeunloadがポイント

TypeScriptにおけるnullとundefinedのベストプラクティス

Featured image of the post

結論:undefinedに統一して使うことを推奨する。

JSONとは

【Remix】actionとは

Featured image of the post

サーバーサイドでPOSTなどを行うための関数。

【Remix】ブラウザから呼ぶプロキシAPIを作る

Featured image of the post

RemixでプロキシAPIを作るためには、loader関数のみを配置したtsxファイルを作成するだけ。

【JavaScript】初心者向けvar,let,constの使い分け、違い - constは定数ではない

Featured image of the post

【Next.js】jestを使ったユニットテストを導入する(TypeScript利用)

Featured image of the post

Cannot find module ‘./manifest.json’. Consider using ‘–resolveJsonModule’ to import module with ‘.json’ extension.

Featured image of the post

【やさしいDDD入門 第2章】エンティティとは

Featured image of the post