3月メモ・リンク集
3月に調べたことのメモです。
Angular関連
- DESIGN DOC (Ivy): Separate Compilationを読む - らこらこブログ
- RxJS: Avoiding switchMap-Related Bugs – Angular In Depth
If the user clicks the remove buttons for several items in the cart, what happens depends upon how rapidly the buttons are clicked.
- 安易に使わずに、この場合はmergeMapが仕様に合っていますよという話
React関連
- Tutorial: How to set up React, Webpack 3, and Babel, in 2017
- Reactの新機能「Time Slicing」と「Suspense」をFacebookが紹介。非同期レンダリングを活用しUXをサクサクに向上 - Publickey
- Time Slicing
CircleCI関連
Angularで作成したアプリのCircleCI環境を2.0に移行した時のメモです。
2.0 Docs - CircleCI(オフィシャルドキュメント)
オフィシャルからは、これくらいの資料を確認。
Angular対応
- angular-cli/continuous-integration.md at master · angular/angular-cli · GitHub
When using Chrome in CI environments it has to be started without sandboxing. We can achieve that by editing our test configs. *
karma.conf.js
の設定変更,protractor.conf.js
をextendするためのprotractor-ci.conf.js
など
- How we used CircleCI 2.0 to build and deploy an Angular app to AWS S3
- この記事読むだけで必要なことはほとんど把握できました
It has 3 main components: a version, a list of jobs, and a list of workflows.
...
Common things that you can achieve within a job include: - Installing the tools you need to run/build/test your project - Executing bash commands - Storing or restoring items from the CircleCI cache
...
The key of the cache is generated using the checksum function, which will output a base64 encoded hash of the package.json file’s content.
...
We run the build command. Notice that we are going to use a multi-line command with each line running in the same shell, so we start the command with the pipe (|) character.
...
その他
- ruby on rails - How to give Circle CI SSH access to my server? - Stack Overflow
- 設定を追加
- Where does CircleCI-2.0 store the ssh private keys? - DevOps Stack Exchange
xvfb
Rails関連
- 他言語習得済みの人が Ruby on Rails で開発する前に読んでおいた方がよさげなURL一覧
- 他言語からのRuby入門
シンボルを使うか文字列を使うかで迷ったなら、 ハッシュのキーのようにオブジェクトを識別したいのか、 それとも前述の”george”などのようにコンテンツを表したいのかを、 選択の指針にしてください。
- N+1問題を検出してくれるgem、bulletを導入する - まえとうしろ
- N+1問題
Android関連
もしかしたらAndroidエンジニアになるかも、という状況があったので設計まわりについて調べてみた時の記事リンクです。Androidアーキテクチャも面白そう。
- Kotlin + Architecture Component + Dagger2によるAndroidアプリ設計 - Qiita
- イケてるAndroidオープンソースアプリ集 - Qiita
- Androidアーキテクチャことはじめ ― 選定する意味と、MVP、Clean Architecture、MVVM、Fluxの特徴を理解する - エンジニアHub|若手Webエンジニアのキャリアを考える!
その他
- Webアプリケーション開発者から見た、MVCとMVP、そしてMVVMの違い - Qiita
- イメージつきでわかりやすい。ありがたいことです