すてぃん (@stin_factory) 's Twitter Profile
すてぃん

@stin_factory

Webエンジニア Hello!Project

ID: 949901553116184576

linkhttps://blog.stin.ink calendar_today07-01-2018 07:12:33

3,3K Tweet

1,1K Followers

433 Following

すてぃん (@stin_factory) 's Twitter Profile Photo

JavaScript にラベル付き文っていう文法が有ったの知らなかった developer.mozilla.org/ja/docs/Web/Ja…

すてぃん (@stin_factory) 's Twitter Profile Photo

ケンタッキーのWeb注文もアプリ注文も、どう見ても人間向けじゃないエラーが表示されて先に進まない。ケンタッキーですらこれが許されるから僕が適当にバグを埋め込んでもいい

すてぃん (@stin_factory) 's Twitter Profile Photo

僕が悪意ある XSS を埋め込むとしたら、Cookie の値を奪うなんて面倒なことせずに直接 fetch で悪意ある投稿とか入金操作とかするから、localStorage か Cookie かなんて関係ないな

すてぃん (@stin_factory) 's Twitter Profile Photo

XSS が可能な場合 CSP では不正な投稿を防げないです。 http: //example.com/index.html に埋め込まれたスクリプトから、http: //example.com/posts にリクエストされるので。 http: //example.com/userinfo から取ってきた個人情報を http: //evil.example.net に転送して奪う攻撃は防げます

すてぃん (@stin_factory) 's Twitter Profile Photo

Notion Web 版がブラウザデフォルトショートカットの command + F を奪って自前の検索UI出してくるのうざい

夜綱 (@sub_827) 's Twitter Profile Photo

正直これでFAだと思ってんだけど React.FCを使うよ、理に適っているからね | stin's Blog blog.stin.ink/articles/i-do-…

Hayden Bleasel (@haydenbleasel) 's Twitter Profile Photo

Today we're open sourcing the new Chat SDK, a unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Now in public beta. ▲ ~/ 𝚗𝚙𝚖 𝚒 𝚌𝚑𝚊𝚝 Let's see how it works ↓

Today we're open sourcing the new Chat SDK, a unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Now in public beta.

▲ ~/ 𝚗𝚙𝚖 𝚒 𝚌𝚑𝚊𝚝

Let's see how it works ↓
すてぃん (@stin_factory) 's Twitter Profile Photo

React のレンダリングフェーズでステート同士の辻褄を合わせるために setState するやつ、やっていいと分かっていてもこの書き方で良いんだっけってなるから、いい感じに違和感を隠す書き方知りたい