Redux– tag –
-
redux-toolkit
連載[最短で理解する] ReduxToolKit(React x TypeScript) example minimum counter
連載[最短で理解する] ReduxToolKit(React x TypeScript) example minimum counter 業務で使いそうな予感したから触っておく ※この連載の2はこちら チュートリアル フォルダ構成 (reduxメンテナー「Mark Erikson」のフォルダ構成はfeaturesのなかにhogeSl... -
React-Redux-DDD-clean-architecture
【React-Redux-DDD-clean-architecture】記事を読んでひたすら考える(1)
【React-Redux-DDD-clean-architecture】記事を読んでひたすら考える 最近ひたすらこれについて理解を深めている。 ざっくりだけどなんとなく言葉の意味や使い方などはわかってきたつもり。(できるかはわからないが) 今のプロジェクトは ・React ・Redux ... -
React x Redux状態管理
【React x Redux状態管理】Reduxが保存するべき値かlocalStateでもつべきかのチェックポイント
【React x Redux状態管理】Reduxが保存するべき値かlocalStateでもつべきかのチェックポイント 今現場ではリファクタリングをしようとしています。 リリースに間に合わせるためにガツガツ書いてきたところをしようとするフェーズらしくて。 React x Redux... -
Type '{}' is missing the following properties from type 'stateName
[解決 TypeScript x Redux] Type ‘{}’ is missing the following properties from type ‘stateName’: [propertyname], and 5 more
[解決 TypeScript x Redux] Type '{}' is missing the following properties from type 'stateName': [propertyname], and 5 more TypeScript error in /Users/morita.kenji/Desktop/jbca-client/src/redux/index.ts(170,69): Type 'Reducer<{ router: ... -
使い方-usecase-
recomposeと仲良くなりたい
recomposeと仲良くなりたい recomposeと仲良くなりたい。仲良くなりたいよ私は。 初めまして。吉本初のReact芸人森田です。 今日はちょっとちゃんと技術記事にさせてください。 静的機動戦士flowtypeはこちら 以前書いたやつ instagram note -
example
【React】redux-form,redux-sagaでsubmitActionするまでのexample
【React】redux-form,redux-sagaでsubmitActionするまでのexample ネット上にredux-formとredux-sagaのリアルなsampleがなくて困っていました。 最近やった案件でちょうど使う機会がいただけたので、復習も兼ねて改めてサンプルを作りました。 github reac... -
invariant.js:42
【React対応】invariant.js:42 Uncaught Error: React.Children.only expected to receive a single React element child
invariant.js:42 Uncaught Error: React.Children.only expected to receive a single React element child これが出たら、console.log上の ここを見て、 ブレイクポイントで何が返っているか見てください。 reactコンポーネントを返すことを期待していま... -
react-router-redux
【react-router-redux】これが出てきたら:
should not have a “path” prop in IndexRoute 【react-router-redux】これが出てきたら:<IndexRoute> should not have a "path" prop in IndexRoute should not have a "path" prop in IndexRoute indexRoute はpashプロパティを持つべきではありません。 fix [code language="javascript"] Rou... -
react-router-redux
【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... -
Redux
【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
【Redux】「bindActionCreators」とは。使い方 Reduxドキュメント日本語訳
【Redux】「bindActionCreators」とは。使い方 Reduxドキュメント日本語訳 ReduxドキュメントのbindActionCreators ====================== bindActionCreators(actionCreators, dispatch) 同じキーを持つオブジェクトに、 その値をActionCreatorであるオ... -
Redux
【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を使っていて、 下記のようなものが... -
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
【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. ヒントもうちょっと欲しい。。って思いながら、... -
Redux
【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... -
Redux
【Redux/combineReducers】これが出たら真っ先に疑う箇所「Uncaught TypeError: (0 , _redux.combinReducers) is not a function」
【Redux/combineReducers】これが出たら真っ先に疑う箇所「Uncaught TypeError: (0 , _redux.combinReducers) is not a function」 Uncaught TypeError: (0 , _redux.combinReducers) is not a function そのreducer、関数ではないよ。やだよ関数じゃない... -
Redux
【Redux/redux-saga/reselect】たまに何をやっているか絵にする方が理解してないところが分かる
【Redux】たまに何をやっているか絵にする方が理解してないところが分かる Reduxとredux-sagaなどMiddlewareの呼び方とかを絵にした。Fluxのときもそうだったけど、、 ・reselect ・applyMiddleware ・redux-saga ・redux-thunk それぞれ何を解決している... -
Redux
【React/Redux】わたしもみている | Container Components
【React/Redux】わたしもみている | Container Components Container Components | @chantastic 記事はこのコードについて悪くはないがReactの利点を見逃していると述べています。 [code language="javascript"] // CommentList.js class CommentList exte... -
Redux
【 Redux】わたしの3連休とRedux
【 Redux】わたしの3連休とRedux 記事読んで終わった。 力になりました。ありがとう。 ここ 。1から読んだ。すごくわかりやすいチュートリアルだった。 全部読んで ドキュメントのtodoアプリ作ったけど、 まだここのReactとの繋ぎが理解足りないからまた... -
Redux
【Redux】ReactでもAngularでもとにかくRedux
【Redux】ReactでもAngularでもとにかくRedux Redux。。(ついこないだFlux理解したのに...) Fluxにどっぷり浸かっていたけどそろそろやらないとまずい... ドキュメント読んでわかりやすかったhtmlにインラインで書かれたやつ これが理解しやすいコードだっ...
1