You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Today we’re excited to announce something special for Babel users.Over a year ago, we set out to find what the biggest difficulties users were running into with TypeScript, and we found that a common theme among Babel users was that trying to get TypeScript set up was just too hard. The reasons often varied, but for a lot of developers, rewiring a build that’s already working can be a daunting tas
久しぶりのブログです。 よく Node.js の人と思われがちですが、普段は Node.js でのバックエンド開発はもちろんですが React や Vue を書いていますので、たまにはフロントエンドネタを投稿しようと思います。 GitHub - hiroppy/ssr-sample: A minimum sample of Server-Side-Rendering, Single-Page-Application and Progressive Web App A minimum sample of Server-Side-Rendering, Single-Page-Application and Progressive Web App - hiroppy/ssr-sample リポジトリにあるコード見たほうが早いと思いますので、ここでは注意点等を列挙していこうかなと思います。 主な技
これは何 VSCode上でSVGを画像編集ソフトっぽく編集したくて作っている拡張です。Marketplaceのページ。 2018/9/2 少し追記 右側のウィンドウで図形を選択して動かしたりできます。この度Elmで書いていたのをすべてTypeScriptで書き直したので苦労話とかをまとめてみました。使って~ なぜElmをやめたの? portが辛かった...辛かったんです...許して... まあ実際のdom要素から取得しないといけない値とか結構あったので、だんだんきつくなっていったんですね。 はまった点 cssでwidthとかheightを指定するときはpxとか単位が必須、SVGと同じ気分で書いてはいけない SVGの要素はdocument.createElementNSで名前空間を指定する 単位換算 units-cssという便利ライブラリがあるがSVGにそのまま適用はできない %の計算にライ
Show navigation Proxies have been an integral part of JavaScript since ES2015. They allow intercepting fundamental operations on objects and customizing their behavior. Proxies form a core part of projects like jsdom and the Comlink RPC library. Recently, we put a lot of effort into improving the performance of proxies in V8. This article sheds some light on general performance improvement pattern
エンジニアの原です。 最近なぜかreact-reduxの解説記事をやたら目にしますが何かあったのでしょうか? 気になるのが解説記事の中であまりmergePropsの重要性が語られていないことです。 https://redux.js.org/basics/example-todo-list すべての元凶はこのサンプルでしょうか…? 今回はmapStateToPropsとmergePropsの役割とその重要性についてちょっと書いてみたいと思います。 reduxのサンプルに問題があるとして下記のQiitaの記事で指摘がされています。 https://qiita.com/zaki-yama/items/5258e6f1ae37f63034b9 このQiitaの記事で解決したい課題として getVisibleTodos() は 関係する state.todos もしくは state.visibili
Readable & WritableTypora gives you a seamless experience as both a reader and a writer. It removes the preview window, mode switcher, syntax symbols of markdown source code, and all other unnecessary distractions. Instead, it provides a real live preview feature to help you concentrate on the content itself. Distractions Free Seamless Live Preview What You See Is What You Mean
Email Breach History Timeline of data breaches affecting your email address Data Breaches Good news — no pwnage found! This email address wasn't found in any of the data breaches loaded into Have I Been Pwned. That's great news! Data Breaches Oh no — pwned! This email address has been found in multiple data breaches. Review the details below to see where your data was exposed.
長らく Putty(パティ) を使っていました(ssh-keygenが梱包されていて便利なので)。ところがこの Putty 開発も終わってるしシングルウインドウもあり使いづらいなと思っている人もおおいのでは?と思うんですよね。そこで。Rlogin に! ダウンロード先 本家ここからダウンロード。 Rlogin 使ってみた wikipediaをみると「RLoginは1998年の開発から始まる10年来のソフトウェアであり、定番ターミナルエミュレータ(Tera Term, PuTTY, Poderosa)のいいとこ取りをした統合的な端末ソフトに仕上がっている。実行プログラムはPuTTYと同様、EXEファイル1つのみとなっている。」とあるので枯れたプログラムでいい感じ(いい意味で)。 これが欲しかった TeraTem, Putty だとコピーバッファにある文字列を「マウスの右クリックでペースト」す
Some time ago, I wrote an article called React Contexts in TypeScript. The purpose of the article was mainly to remind myself exactly how to declare and use React contexts within TypeScript. But since the announcement of a new Context API for React 16.3, several people have asked me if I would update that article. Instead of updating it, I decided to start anew and explore this new API. TL;DRThere
React 16.3 added a new Context API – new in the sense that the old context API was a behind-the-scenes feature that most people either didn’t know about, or avoided using because the docs said to avoid using it. Now, though, the Context API is a first-class citizen in React, open to all (not that it wasn’t before, but it’s, like, official now). As soon as React 16.3 came out there were articles al
TypeScriptでIDやエンコーディングなど特別なセマンティクスを持つ値にプリミティブ型を維持したまま個別の属性を与えることで型安全な専用の値を作る。言語の型システムをどのように機能させているかについての説明は省略する。 IDは次のように作れる。 namespace Identifier { declare class Event<T extends string> { private IDENTITY: T; } export type Number = Event<any> & number; export type Id = Event<'Id'> & number; } export type EventId = Identifier.Id; export function makeEventId(id: Identifier.Number): void export func
[2021/06/10追記] 2021年5月31日よりガソリンスタンドで利用いただけるようになりました。詳細は次の記事をご覧ください。 blog.kyash.co Kyashサーバーエンジニアの井上です。 Kyash Visaカードは、実は一部店舗でご利用いただけません。 その理由をカード決済の仕組みと合わせてご説明します。 ちなみにサポートページで利用できない店舗を載せているので、こちらもご覧ください。 カード決済の流れ カード決済の仕組みが大きく関係しているので、まずクレジットカードとプリペイドカードの決済の流れについて説明します。 クレジットカード決済 クレジットカード決済には、主に オーソリゼーション(仮売上)※ と 売上(実売上) という処理があります。※以下オーソリ オーソリ(仮売上) はクレジットカードの利用限度額の確保を行う処理のことで、決済実行時に処理されます。 売上(実
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く