react-hot-redux-firebase-starter

授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 尉迟宪
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Firebase 3.0 Starter using React Redux

This is a Firebase 3.0 start using React and Redux.

It uses the latest version of libraries, including the brand new React Hot Loader (still beta)

Stack

  • React
    • React 15.1.0
    • React Hot Loader 3.0.0-beta.2
    • React Router 2.4.1
  • Redux
    • Redux 3.5.2
    • React Redux 4.4.5
    • React Router Redux 4.0.4
    • Redux Thunk 2.1.0
    • Redux Dev Tools
  • Webpack
    • Webpack 1.13.1
    • Webpack Dev Middleware 1.6.1
    • Webpack Hot Middleware 2.10.0
  • Firebase
    • Firebase 3.0.3
  • Linting
    • Eslint 2.11.1
  • Styles
    • Bootstrap 3.3.6
  • Testing
    • Mocha 2.5.3
    • Enzyme 2.3.0

Features

  • Firebase:
    • Auth
      • Authentication setup (Registration/Login)
      • state.user sync with Firebase Auth
      • Protected routes (needs to be logged in)
      • Store users on '/users/<user.uid>'
      • Admin flag on user ('/isAdmin/<user.uid>' :: bool)
      • Admin Protected routes (needs to be logged in)
    • Database
      • Set example
      • Query example

Usage

git clone git@github.com:douglascorrea/react-hot-redux-firebase-starter.git
cd react-hot-redux-firebase-starter
npm install
npm start -s

Development Tasks

  • npm start run the web app with lint and tests in watch mode
  • npm run lint linting javascript code usig eslint
  • npm run test test using mocha and enzyme

Roadmap

Check our roadmap issues

 相关资料
  • DEPRECATED. This project is not maintained anymore. Starter For Firebase, React Native, Redux Applications With 100% Of Code In Common Between IOS And Android, with built In Authentication, Crud Examp

  • 目录 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 为何组件频繁的重新渲染? 怎样使 mapStateToProps 执行更快? 为何不在被连接的组件中使用 this.props.dispatch ? 应该只连接到顶层组件吗,或者可以在组件树中连接到不同组件吗? React Redux 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 目前来看,

  • Live redux-react-starter This repository contains the minimal app to get started with redux, react, hot-reloading, async function and some other great stuffs. How to yarn 0.18+ must be present on your

  • 问题内容: 我正在尝试在React中创建一个项目,并且正在使用Firebase。在我的react-redux- firebase项目中,有一行代码出错,但我无法解决。如何解决此“ TypeError:Object(…)不是函数” 我已经搜索了此问题,但无法解决该问题。 我正在关注一个React版本为16.4.1的教程。我不确定这是否是问题 index.js文件 如果我注释掉reatReduxFir

  • React-babel-webpack-es6 Starter Project A boilerplate using React, webpack and hot module reloading, and ES6 + JSX via Babel.You could use it as a base to build your own web app. Features The provided

  • React, Redux & Sass Starter A simple and quick way to get you going with developing React applications with Redux and Sass. Comes with pre-configured Webpack for bundling your application to help save