Code Monkey home page Code Monkey logo

pandaoh / react_micro_web Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 4.58 MB

( 迁移 => https://github.com/biugle/web_base )-太极(TaiJi)-基于 React + TypeScript + Vite + Antd + Electron 实现的伪微前端模板(适用于开发大型/复杂项目但又人数较少的情况)

Home Page: https://github.com/biugle/web_base

JavaScript 5.93% HTML 0.93% SCSS 22.39% TypeScript 69.36% CSS 1.38%
ant-design antd antd-admin antd-pro electron eslint husky prettier react react-admin

react_micro_web's People

Contributors

pandaoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

starslol

react_micro_web's Issues

一些想法

  • 现在的微前端方案有很多,不否认微前端的优点,但是个人看来总感觉开发起来并不是很方便,项目会过于臃肿,且打包后会有子应用切换很慢/白屏等等一系列问题。
  • 仔细想想,我还是对微前端存有一些疑虑的;其实一些稍微复杂或者庞大点的项目真的有必要引入微前端吗?使用微前端真的有利于团队协作开发,提高开发效率吗?不约束团队技术栈真的可行吗?不约束技术栈的同时,其他人维护真的会方便吗?微前端对开发者和用户都友好吗?
  • 借鉴微前端的模式,我想的是通过动态路由 + 动态目录区分 + 动态模块化状态管理等方式来实现一个简单的伪微前端,达到类似于微前端按功能/模块隔离的效果;通过约束技术栈来提高代码质量,而且个人感觉同技术栈项目更有利于维护。
  • 技术选择上个人对比了 Vue3 和 React,由于 VueX 代码提示与开发的角度上不够友好,且 React 更适用于大型应用,本人更倾向 Redux 与 React 的开发模式,所以决定选用 React。
  • 碎碎念就到此为止吧,我先好好思考一下项目的结构设计啦!

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.