web備忘録– category –
普段はwebのほうの仕事も多いのでそちらのお勉強の際のちょっとしたメモ書きです。
-
【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use
【NetBeans/glassfish】これ。Shutting down server due to startup exception java.net.BindException: Address already in use ここで同じ問題 https://stackoverflow.com/questions/18045897/how-to-run-glassfish-4-on-port-80-instead-of-8080-root-a... -
【JavaScript】非同期を同期的に書いてみた(async/await)
【JavaScript】非同期を同期的に書いてみた(async/await) [code language="javascript"] import React, { Component } from 'react' import ReactDOM from 'react-dom' import 'babel-polyfill'; class Greet extends Component { render() { function hid... -
【JavaScript】次に来るECMAScript仕様をみてみる〜ECMAScript2017とか〜
【JavaScript】次に来るECMAScript仕様をみてみる〜ECMAScript2017とか〜 stage-4は次のリリースで含まれる機能。 もう決定。 ここ stage-3は含まれるかもしれない機能。候補。 stageなんちゃらの定義はここにされています。 なのでbabelでpluginを取り込... -
わたしもみている | 「 Webpack 2」「async/await」「レスポンシブイメージ」等
わたしもみている | 「 Webpack 2」「async/await」「レスポンシブイメージ」等 「Migrating to Webpack 2」 https://javascriptplayground.com/blog/2016/10/moving-to-webpack-2/ Promiseとasync/awaitでJavaScriptの非同期処理をシンプルに記述する わ... -
【React】 if(!element.loader || element.loader.indexOf(“!”) >= 0) throw new Error(“Cannot define ‘query’ and multiple loaders in loaders list”);
【React/webpack/babel-loader】もし「Error: Cannot define 'query' and multiple loaders in loaders list」で「 if(!element.loader || element.loader.indexOf("!") >= 0) throw new Error("Cannot define 'query' and multiple loaders in loaders li... -
【JsonServerとDHC】PromiseやAsync/Await書く人の為の「非同期処理のサンドボックス」作った
【JsonServerとDHC】PromiseやAsync/Await書く人の為の「非同期処理のサンドボックス」作った 目的 ・機能を実装する際非同期処理が欠かせない環境になってきた ・ローカルサーバー立ててやる環境で練習できないものかと考えた ・PromiseやAsync/Awaitやge... -
【Chrome/Ajax,Promise/ローカルサーバー】これが出たらやる9つのこと「XMLHttpRequest cannot load localhost:3000/sub/comments. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource」
【Chrome/Ajax,Promise/ローカルサーバー】これが出たらやる9つのこと「XMLHttpRequest cannot load localhost:3000/sub/comments. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome... -
【json-server-watch db.json】エラーError「events.js:154 throw er; // Unhandled ‘error’ event ^Error: listen EADDRINUSE 0.0.0.0:3000」
【json-server-watch db.json】エラー「events.js:154 throw er; // Unhandled 'error' event ^Error: listen EADDRINUSE 0.0.0.0:3000」 json-serverでwatchしたらこのようなエラーがでてDHCで404などが帰ってくる場合。 下のようにエラーでる。 他に同じ... -
わたしもみている | 破片プログラマーの悲しみ | Promiseは常に非同期?| 等
わたしもみている | 破片プログラマーの悲しみ | Promiseは常に非同期? ・jflute : https://d.hatena.ne.jp/jflute/20160330/fragramming ・2.3.コラム: Promiseは常に非同期? ・Promiseとasync-awaitの例外処理を完全に理解しよう ・document.implementat... -
【JavaScript】はいこれきた。Uncaught SyntaxError: Unexpected end of input
【JavaScript】はいこれきた。Uncaught SyntaxError: Unexpected end of input consoleにこんな感じのError出たら、 ここを こう 閉じる 関数の()とか{}とか閉じていないところを確認 でわ良い週末土曜の9時4分をーーー 他のフロント記事 ・フロントエンド... -
【JavaScript】Reflectの使い方「Reflect | Metaprogramming in ES6: Part 2 – Reflect」の記事概要
【JavaScript】Reflectの使い方「Reflect | Metaprogramming in ES6: Part 2 - Reflect」の記事概要 以下ここの記事の概要 ------------ ReflectはJSONやMathのようなグローバルオブジェクトです。 introspection methods(内観メソッドというのは Object.... -
【react-router-redux】エラーを解決:routing state to be available either as `state.routing` or as the custom expression you can specify as selectLocationState。。。
【react-router-redux】エラーを解決:sync.js:39 Uncaught Error: Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` optio... -
GitHubの草がハロウィン仕様(Grass Halloween)
GitHubの草がハロウィン仕様 いいね。 -
【react-router-redux】解決したい。Expected the reducer to be a function(createStore.js)
【react-router-redux】解決したい。Expected the reducer to be a function(createStore.js) コンソールにExpected the reducer to be a functionが出てお困りの方。createStoreから出ています。 createStoreのここでfunctionが渡ってくるはずがObjectと... -
【Redux】「bindActionCreators」とは。使い方 Reduxドキュメント日本語訳
【Redux】「bindActionCreators」とは。使い方 Reduxドキュメント日本語訳 ReduxドキュメントのbindActionCreators ====================== bindActionCreators(actionCreators, dispatch) 同じキーを持つオブジェクトに、 その値をActionCreatorであるオ... -
【React/Redux】このアラートが出てきたらすること/warning.js:36 Warning: validateDOMNesting(…): <div> cannot appear as a descendant of <p>. See Counter > p > … > div.
【React/Redux】このアラートが出てきたらすること/warning.js:36 Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>. See Counter > p > ... > div. React x Reduxを使っていて、 下記のようなものが... -
【React/Redux】Propsがread-onlyでEmpty Object。。connectとか疑った後,Container内のComponentが何も返してくれない時
【React/Redux】Propsがread-onlyでEmpty Object。。connectとか疑った後,Container内のComponentが何も返してくれない時 エラーにもならないで、静かに訴えています。。 写真のようにaddOnで見ると、、Propsがread-onlyでEmpty Object。。connectとか疑っ... -
【Redux】これハマった。。invariant.js:38 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
【Redux】これハマった。。invariant.js:38 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. ヒントもうちょっと欲しい。。って思いながら、... -
【webpack】webpackDevMiddleware とは
【webpack】webpackDevMiddleware とは webpackDevMidleware -ドキュメント- webpackDevMiddleware はデータ構造領域に接続するミドルウェに対しての小さなミドルウェアです。 メモリーの静的ファイルをコンパイルしたりそれらを受け取る際に使用します。... -
【Redux】これが出たら疑う箇所:Uncaught Error: Objects are not valid as a React child (found: object with keys {counterReducer, inputReducer}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `Component`.(…)
【Redux】Uncaught Error: Objects are not valid as a React child (found: object with keys {counterReducer, inputReducer}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(objec...