GithubHelp home page GithubHelp logo

moxun33 / react-mobx-antd-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 1.0 1.96 MB

react16-router4--mobx-antd3--webpack4-boilerplate

Home Page: https://www.qimajiang.com/2017/10/21/React%E5%BC%80%E5%8F%91%E7%AC%94%E8%AE%B0/

License: MIT License

JavaScript 98.41% HTML 0.53% CSS 1.05%
antd3 mobx react-router4 react16 service-worker

react-mobx-antd-boilerplate's Introduction

Hi I'm Machine👋

I have knowledge of Flutter (+ FFI, Platform channels ) & React.js (+ React Hooks, React Router). I mainly write JavaScript, NodeJS, Dart, Python & PHP.

react-mobx-antd-boilerplate's People

Contributors

dependabot[bot] avatar moxun33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

leizp

react-mobx-antd-boilerplate's Issues

关于子路由

你好,我正在使用您的这个项目做为学习React mobx 以及react-router V4的脚手架,但不知道如果设置子路由,比如我在antd 页面下还有两个页面, 分别是/antd/page1, /antd/page2, 这两个路由该怎么做呢?
下面是我在antd/index.js增加的代码,Link导航时url变了,但page1, page2都没有渲染出来,但强制刷新页面是可以出来的, 盼回复,谢谢。
render() {
return (



Page1








Page2



<Route path={${this.props.match.path}/page1} component={Page1} />
<Route exact path={${this.props.match.path}/page2} component={Page2} />



)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.