Comments (4)
网络请求是放在Flutter层还是JS层,如果在Flutter 层如何给JS(页面)配置数据?
from mxflutter.
JS能否作为flutter启动后的第一个page ?
from mxflutter.
如题, 如果可以如何再setState页面
MXFlutter 目前放出的是技术预览版本,如果要使用,必须非常了解Flutter,JS等运行原理, 要实现从网络获取数据,目前可以使用JSCode和原生通讯能力,MXFlutter将会有一个大版本更新,完善了此问题,敬请期待。
from mxflutter.
如题, 如果可以如何再setState页面
JS能否作为flutter启动后的第一个page ?
0.1.0版本已支持网络库dio
JS能否作为flutter启动后的第一个page ,可以搜索以下代码,打开注释,不过Flutter引擎和JS引擎有一定启动时间,有一段时间白屏,可能需要在Native侧做个启动页面,缓解白屏时间。
// 2.MXJSPage: 直接打开MXFlutter写的页面,TODO:JS引擎启动需要时间,这里会展示菊花,优化中。。。
//NSString *route = @"MXJSPage";
from mxflutter.
Related Issues (20)
- 为什么限制 withSourceURL 中路径的长度? HOT 1
- Support Typescript HOT 3
- 错误 undefined:174: TypeError: Cannot read property HOT 2
- 编译时候报错 HOT 3
- pub dev version issues
- 请问下dartvm是还存在么? HOT 1
- Demo 运行报错 HOT 2
- 安卓远程下载,获取不到目录文件的问题 HOT 2
- 请问支持css么? HOT 1
- ios android 真机支持热更新吗 HOT 1
- 库的依赖 该升级了 HOT 1
- 什么时候发个大版本更新 HOT 1
- 这javascript如何远程更新? HOT 1
- _canDefineDebugJSBundlePath是private的 HOT 1
- 跑不起来 HOT 2
- 发现一处typo HOT 2
- main.js HOT 1
- flutter2.0 HOT 1
- 请问MXJSCompiler工具有开源计划吗 HOT 1
- Flutter技术社区
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mxflutter.