zhaomenghuan / flutter-mini-program Goto Github PK
View Code? Open in Web Editor NEWA Flutter's mini-program development framework by parsing HTML、CSS and JS / Dart.
License: MIT License
A Flutter's mini-program development framework by parsing HTML、CSS and JS / Dart.
License: MIT License
It looks like miniprogram uses liquid core: https://github.com/j0j00/flutter_liquidcore
There is a better way IMHO
You can run the JS inside a JS VM that is 100% compiled to c using
https://github.com/dop251/goja
You can cross compile this to run on any Mobiles, Desktop or small ARM device.
Then just call it the same way you call miniProgram now by using Flutter Method channels.
我仔细的看了一下你的代码 觉得有一个问题
如
if (this.state.xxx){
return View1
}else {
return View2
}
如果按照你现有逻辑来的话 就是如果我的js里面setData的时候 我肯定需要重新load一下html文件 然后重新生成一次dom树 但是这个过程是非常耗时间与性能的 所以 你那边 对于这种情况 有什么更好的方法来解决吗
仔细看了一下,现在大部分代码aml代码基本上都是页面模板代码,并没有真的执行在js环境中?这一块功能是否已完善?
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.