JavaScript

JSConfJP 2019に参加してきたヘ(^o^)ノ

JSConfJP 2019のスピーカーを見た瞬間にチケット購入したイベントに参加してきました! jsconf.jp チケットを買ったときに聞きたかったセッション は以下 Day 1 THE STATE OF JAVASCRIPT by Sacha Greif BUILDING SECURE AND SEAMLESS SIGN-IN EXPERIENCE US…

Destructuring Object in ES6

often use const props = { label: 'label', text: 'text' } const { label, text } = props console.log(label) #=> 'label' console.log(text) #=> 'text' default value const props = { label: 'label' } const { label, text = 'text' } = props consol…

フロント用にサクッとAPIのレスポンスを用意するヘ(^o^)ノ

Mock API response with json-server github.com Create sample data with Faker.js github.com Sample code github.com Setup $ git clone git@github.com:murajun1978/faker-sample.git $ cd faker-sample $ npm install Start server $ npm start faker.j…

神戸.rb Meetup #12に参加したよーヘ(^o^)ノ

神戸.rb Meetup #12に参加しました。 僕はKonachaについて調べてました。 会社でRailsのJavaScriptをええー感じにテストしたい!ってことなので # Gemfile group :test, :development do gem 'konacha' gem 'selenium-webdriverd' end デフォルトのdriverはs…