Git Product home page Git Product logo

react-latest-framework's Introduction

React技术栈长期开源项目

Build Status codebeat badge PRs Welcome

适用人群:该框架集成了react开发常用技术栈,适用于想要学习单向数据流框架搭建的新手、以及想要一个比较干净、简洁的框架从事前端项目的开发者。

4.1.0版本更新说明

webpack升级到4.17.1,并且对各个插件进行了兼容

该框架基于 create-react-app 进行改造,增加了redux、移动端适配等功能,与此同时,增加了路由配置文件

脚手架的配置你可以直接参考create-react-app的官方文档

babel最新配置

使用happypack优化打包速度

客户端渲染

本项目是客户端渲染版本

服务端渲染

虽然客户端渲染可以实现首屏请求最少的js资源,但是服务端渲染也是有他的优势所在,

关注SEO的开发者推荐使用基于本框架的服务端渲染版本:https://github.com/hyy1115/react-next

Installation 教程

fork到你的账号,简单省事,或者 download 项目到本地

1、 安装依赖包,已经解决了一些依赖包安装最新版可能出现的bug,如果还有问题,可以看相关社区的issue。

npm install 或cnpm install 或 yarn

2、运行demo。

npm start

**4、打包发布 **

npm run build

5、你可以尝试serve来启动服务器。

npm run serve

关于DOC文档教程的解释

非常抱歉的是由于各个插件版本升级太快,一些文档教程没有实时跟上维护修改。

echarts 使用方案

想要在react恰当的使用echarts,可以查看 react中使用echarts的最优方案

学习ES6语法

React项目中,使用了大量的ES6语法,如果你还没有学习过ES6,那么推荐你看 深入理解ES6笔记

更多React教程

这里积累了react博客+react官方文档的中文翻译 React系列教程

如果你对该项目感兴趣,想共享一份你的力量,请大胆pull PR!

react-latest-framework's People

Contributors

hyy1115 avatar

Watchers

 avatar

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.