-
```import { applyMiddleware, createStore } from "redux";
// import logger from "redux-logger";
import thunk from "redux-thunk";
import promiseMiddleware from "redux-promise-middleware";
import r…
-
大家可以在這個 issue 回文認領章節
翻譯好該章節之後可以送 pull request 給我
謝謝啦!
第一章 [Node, Yarn, package.json](https://github.com/j0214ack/js-stack-from-scratch/blob/master/tutorial/01-node-yarn-package-json.md)
j0214ack…
-
```jsx
import React from 'react';
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import { shallow } from 'enzyme';
import renderer from "react-test-rend…
-
Scrum Update 2
-
webpack 提供了一些 Plugins 来提升打包时的性能。
## CommonsChunkPlugin
当 webpack 配置了多个入口文件时,如果这些文件都 require 了相同的模块,webpack 会为每个入口文件引入一份相同的模块,显然这样做,会使得相同模块变化时,所有引入的 entry 都需要一次 rebuild,造成了性能的浪费。
CommonsChunkP…
-
Right now we can implement this by conditionally matching on a react router params and fetching. Interesting piece here http://redux.js.org/docs/recipes/ServerRendering.html on server rendering. Can h…
-
#### Summary
getting the following error
Error: Cannot find module '@babel/plugin-proposal-class-properties'
"devDependencies": {
"source-map-loader": "^0.2.4",
"webpack": "^4.2…
-
Hi,
I´m having some dependency issues with the latest version
```bash
$ node -v
v7.8.0
$ npm -v
5.0.3
$ npm init
...
$ npm install --save react-admin-ui@2.2.4
npm WARN react-admin-ui@2.2…
-
I'm trying to get your blog demo working, but fetch posts is never called. I noticed the FETCH_POSTS is not in the reducer and I'm wondering if that is the issue?
-
![Screenshot 2022-11-10 110823](https://user-images.githubusercontent.com/87073965/201063099-4ab1a74f-df32-4ab0-9cf6-ec07bca812e5.png)
the code is shown below, I believe the error is occuring becau…