基于webpack + react + react-router + redux + less + flex.css + ES6 的React版cnode社区

#125

端口被占用了,把占用3000端口的应用关了再启动

#126

是的,谢谢您:+1:

#127

请问getnextpage.jsx中的location是从哪儿传过来的? 新手见谅

#128

Signin.jsx里面的
export default connect((state) => { return { User: state.User }; }, action(‘User’))(Main);
这儿的action(‘User’)是什么意思?怎么没有dispatch呢?

#129

我只是来这问问 有React,Redux的QQ,微信交流群吗,能发出来个加进去学习学习吗

#130

萌新初学,请问这部分的跳转和渲染是在哪里代码进行的,Route.jsx也没有和tab有关的

#131

路由 Link 是react-router里面的

#132

请问大神怎么在移动端进行的调试

#133

博主,你好。我写的其他的项目(v4)。用你写的这个getComponent这个方法来实现按需加载。,但是了,连语法好像都通过不了。我想问一下。用法是这样用的吗?谢谢。

#134

import getComponent from ‘…/components/utils/getComponent’

const routes = [
{
path: ‘/login’,
component: (props) => getComponent(props, () => import(’…/components/Login/index’))
},
{
path: ‘/register’,
component: (props) => getComponent(props, () => import(’…/components/Register/index’))
},
{
path: ‘/menu’,
component: (props) => getComponent(props, () => import(’…/components/Menu/index’)),
routes: [
{
path: ‘/menu/dash1’,
component: (props) => getComponent(props, () => import(’…/components/Dash/dash1’))
},
{
path: ‘/menu/dash2’,
component: (props) => getComponent(props, () => import(’…/components/Dash/dash2’))
}
]
}
];

export default routes;

#135

npm WARN deprecated autoprefixer-loader@3.2.0: Please use postcss-loader instead of autoprefixer-loader

#136

没有使用node ,端口不能自动打开网页

#137

没有看到==

#138
#139

[mapDispatchToProps(dispatch, [ownProps]): dispatchProps] (Object or Function): 如果传递的是一个对象,那么每个定义在该对象的函数都将被当作 Redux action creator,而且这个对象会与 Redux store 绑定在一起,其中所定义的方法名将作为属性名,合并到组件的 props 中。

#140

get-next-page这个插件请问怎么使用,npm上没有文档,它里面会自动去发起请求吗?

#141

关闭的命令是什么?

#142

又见狼族小贝

#143

请问登录密码多少

#145

请问这个问题你怎么解决的呢?