hf-rt
Redux, React-Redux, Redux-thunk, Router Encapsulation.<br> So we can only use single model file to implement Redux/Redux-thunk<br> Medium : hf-rt : <a href="https://medium.com/@hfchou/hf-rt-a-framework-to-easy-use-redux-redux-thunk-and-react-router-e8
Last updated 3 days ago by hfchou .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hf-rt 
SYNC missed versions from official npm registry.

Description

Redux, React-Redux, Redux-thunk, Router Encapsulation.
So we can only use single model file to implement Redux/Redux-thunk
Medium : hf-rt : A framework to easy use redux, redux-thunk and react-router(partI)

Feature

*Support create-react-app
*Write action, action type, reducer in a single file.
*Clear API to implement Web frontend.

How to use

  • Create a creat-react-app project
npx create-react-app my-app
  • Delete contents in index.js, and add the contents as below.

  • import app.js

import { app } from "./app";
  • Then, you can start to add your new page.
app.page({ path: "/home", component: require("./pages/Home") });
  • Or, add a new model
app.model(require("./models/products"));
  • Or, add a new api
app.api({name:'products', path:''});
  • After that, strat your app
app.start("root");

Current Tags

  • 1.0.37                                ...           latest (3 days ago)

38 Versions

  • 1.0.37                                ...           3 days ago
  • 1.0.36                                ...           3 days ago
  • 1.0.35                                ...           3 days ago
  • 1.0.34                                ...           20 days ago
  • 1.0.33                                ...           24 days ago
  • 1.0.32                                ...           a month ago
  • 1.0.31                                ...           a month ago
  • 1.0.30                                ...           a month ago
  • 1.0.29                                ...           a month ago
  • 1.0.28                                ...           a month ago
  • 1.0.27                                ...           a month ago
  • 1.0.26                                ...           a month ago
  • 1.0.25                                ...           a month ago
  • 1.0.24                                ...           a month ago
  • 1.0.23                                ...           a month ago
  • 1.0.22                                ...           a month ago
  • 1.0.21                                ...           a month ago
  • 1.0.20                                ...           a month ago
  • 1.0.19                                ...           a month ago
  • 1.0.18                                ...           a month ago
  • 1.0.17                                ...           a month ago
  • 1.0.16                                ...           2 months ago
  • 1.0.15                                ...           2 months ago
  • 1.0.14                                ...           2 months ago
  • 1.0.13                                ...           2 months ago
  • 1.0.12                                ...           2 months ago
  • 1.0.11                                ...           2 months ago
  • 1.0.10                                ...           2 months ago
  • 1.0.9                                ...           2 months ago
  • 1.0.8                                ...           2 months ago
  • 1.0.7                                ...           2 months ago
  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           2 months ago
  • 1.0.4                                ...           2 months ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 101
This Month 165
Last Day 0
Last Week 0
Last Month 521
Dependencies (9)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |