Starter using Vite2 + React17 + Typescript4 + Electron12 .
Hi,我在此项目基础上,增加了一个package:react-activation,类似Vue的<KeepAlive />
,实现组件状态的自动保存。
开发过程中,功能正常。Build之后,执行unpack目录的electron-vite-react-starter.exe,功能无法运行,报两个同样的错误
vendor.83d6ef6d.js:4784 Error: Minified React error #130;
visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
electron-vite-react-starter\release\0.0.1\win-unpacked\electron-vite-react-starter.exe
,发现上述两个报错https://github.com/zspishere/electron-vite-react-starter
通过create-react-app创建react17
的项目,增加react-activation,以及相应的代码src/renderer/Test.jsx
http://localhost:5000/
,功能也正常
麻烦有时间帮忙确认是vite2的问题,还是react-activation的问题。
Hi,您的这个项目很赞!
我在build过程中,遇到一个问题,麻烦帮忙确认是我操作的问题,还是代码存在bug。
yarn build
之后,采用以下两种方式运行,均显示白框
,Developer Tools
报错如下
electron-vite-react-starter\release\0.0.1\win-unpacked\electron-vite-react-starter.exe
electron-vite-react-starter\release\0.0.1\electron-vite-react-starter_0.0.1.exe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.