umi icon indicating copy to clipboard operation
umi copied to clipboard

A framework in react community ✨

Results 377 umi issues
Sort by recently updated
recently updated
newest added

## What happens? umi 4 model中无法引入Reducer,Effect等类 ## Mini Showcase Repository(REQUIRED) https://github.com/dong-516/umi4_test > Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) then upload to your GitHub. 请提供 [最小重现](https://stackoverflow.com/help/minimal-reproducible-example),并上传到你的 GitHub 仓库 ## How To Reproduce...

type(enhancement)

## 问题 现在 umi 的测试方案可以做单测和组件测试,但不能做页面级测试。而业务部分又有这方面的稳定性需求。 ## 方案 ### 使用 ```js import Page from 'index.tsx'; import { TestBrowser } from '@umijs/max'; it("test page", () => { const html = render( );...

type(enhancement)

## What happens? umi4 mock 修改内容或加文件,windows不重启无效,mac正常 ## Mini Showcase Repository(REQUIRED) > Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) then upload to your GitHub. 请提供 [最小重现](https://stackoverflow.com/help/minimal-reproducible-example),并上传到你的 GitHub 仓库 windows10 复现仓库:https://github.com/liangskyli/umi4-bug ## How To...

type(windows)

## Background 目前 Umi 4 主要碰到两个浏览器兼容的问题: 1. `esbuild` 作为压缩器会对 ES5 代码做反向优化变成 ES6,导致配置 `targets` 以后不改压缩器也不能工作,用户排查及使用成本较高, from @xiaohuoni 2. 社区越来越多包只发布 ES6 产物,但 Umi 4 默认不用 babel 编译 `node_modules`,导致产物里出现高级语法,添加 `extraBabelIncludes` 一旦数量变大维护成本也会变高,from @fz6m ##...

help wanted
type(discussion)
Browser Compatibility

## What happens? `umi@4`下在配置中开启`antd:{}`,在`global.less`里写一段覆盖`antd`的样式,在开发模式下显示正常(即global里的样式会覆盖antd的样式),但打包后的代码,实际表现为`antd`的样式覆盖`global`的样式 ## How To Reproduce 开发模式下 ![image](https://user-images.githubusercontent.com/18651667/176639529-d494f1f3-d825-4f26-9da0-bda766b7c8e1.png) - - - - - - - - - - - - - - - - - - - -...

type(mfsu)

umi bundler webpack的hmr在module federation暴露的模块中失效 以下改动针对所有出口文件,新增hmr

## What happens? 配置中启用 vite 模式后,无法正常使用 react 新的转换模式。 控制台中报错 The requested module '/node_modules/react/jsx-runtime.js' does not provide an export named 'jsx' ## Mini Showcase Repository(REQUIRED) [repo](https://github.com/urielvan/umi-vite-jsx) ## How To Reproduce **Steps...

vite-mode

## 问题 1、项目可能会不经意间使用到影子依赖,尤其当 npm client 不是 pnpm 的时候 2、使用影子依赖实际是埋下了潜在问题,让项目在未来随时可能报错 ## 方案 1、如果 npmClient 是 pnpm 并且「没有开启提升依赖的配置」时,不加此功能,因为已默认有 2、基于 辟shu 在做的 MFSU V4 的前置步骤 3、支持增量编译 4、遇到了提示「你 import 了 XXX,但没有在 package.json 中声明他」,同时给出文件路径和行号 5、可选:用...

type(enhancement)