タグ

2016年4月14日のブックマーク (5件)

  • API Documentation & Design Tools for Teams | Swagger

    API Development forEveryone Simplify your API development with our open-source and professional tools, built to help you and your team efficiently design and document APIs at scale. Find your toolRead the docs Trusted by Empowering API Development Streamline your workflow with unparalleled API specification support Swagger places API specifications such as OpenAPI, AsyncAPI, and JSON Schema at the

    kuy
    kuy 2016/04/14
  • 自分が依存しまくってるnpmパッケージを表示するツールつくった - マルシテイア

    https://www.npmjs.com/package/what-do-i-depend-on github.com 先日のleft-pad騒動で、自分のプロジェクトのnode_modulesを慌ててチェックした。 普段依存の依存とかまったく意識してないけど、いざ見なおしてみるとその数の多さにビックリする。 全ての依存を把握するのは正直無理だけど、ざっと見てみるだけでも発見がある。 意外とscoped packageが使われてたり。めちゃくちゃミニマルなパッケージが人気だったり。 babel関係のパッケージが多すぎて目眩がしたり。 というわけで、自分のプロジェクトの依存パッケージを再帰的に調べて、依存度合いをチェックするツールを作った。 node_modules/ 内の package.json を再帰的に調べて、パッケージが登場した回数を表示する。 使い方 インストール npm i

    自分が依存しまくってるnpmパッケージを表示するツールつくった - マルシテイア
    kuy
    kuy 2016/04/14
    面白い!自分の依存パッケージを晒す遊びが流行らないだろうか。
  • Integrating Data with React Native — Makeitopen.com - Open Source Learning

    Building the F8 2016 App: Part 3 Integrating Data with React Native This is a series of tutorials designed to introduce React Native and its Open Source ecosystem in plain English, written alongside the building of the F8 2016 app for Android and iOS. React , and by extension React Native , allows you to build apps without worrying too much about where your data is coming from, so that you can get

    Integrating Data with React Native — Makeitopen.com - Open Source Learning
    kuy
    kuy 2016/04/14
    F8のアプリでは通信処理をAction Creatorでやってる。うーむ。あとオフラインストレージにredux-persistを使ってるな。
  • makeitopen.com · Building the F8 App

    Every year, as part of the F8 conference, Facebook builds iOS and Android apps that give attendees a schedule for the conference, and let them learn more about the talks and speakers. The apps have also provided reminders for upcoming talks and ad-hoc announcements to attendees. We've released the 2017 source code on GitHub, and produced a series of tutorials. These are designed to introduce React

    kuy
    kuy 2016/04/14
    F8のアプリをどうやってReact Nativeで作ったかについて。めっちゃ有用な資料だ。Reduxも使ってる。
  • Reduxでコンポーネントを再利用する - Qiita

    Reduxはとりあえず使えるようになった後の情報が少ないように感じています。よく出回っているサンプルコードは「Real World 〜」のような名前がついていたとしても、あくまで雰囲気を味わうために用意されたものに毛が生えた程度で、現実に起こる問題に対する回答や指針を示しているわけではありません。業務で使うことを検討するのであれば、プロダクトの成長と共にどうやってスケールしていくかイメージできないと導入に踏み切れないですよね。稿ではサンプルコードより大きな規模で開発していくために、Reduxにおけるコンポーネントの再利用について紹介します。 実現したいこと コンポーネントの再利用によってどのようなことを実現したいのかイメージしてもらうため、馴染みのあるアプリケーションの機能を具体例として挙げてみます。 Gmailで名前にマウスオーバーしたときに出るプロフィール情報 プロフィール画像の表示

    Reduxでコンポーネントを再利用する - Qiita
    kuy
    kuy 2016/04/14
    Reduxでアプリケーションを組むときに必要になってくるある程度の機能を持ったコンポーネントをどうやって作るかについて書きました。サンプルコードあるよ。