Taro 1.2.9 发布,BAT 小程序、H5 与 RN 端统一框架

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Taro 1.2.9 发布了,Taro 是一套遵循 React 语法规范的多端统一开发框架,支持用 React 的方式编写一次代码,生成能运行在微信小程序/百度智能小程序/支付宝小程序、H5 与 React Native 等端的应用。 更新内容如下...

Taro 1.2.9 发布了,Taro 是一套遵循 React 语法规范的多端统一开发框架,支持用 React 的方式编写一次代码,生成能运行在微信小程序/百度智能小程序/支付宝小程序、H5 与 React Native 等端的应用。

Taro 1.2.9 发布,BAT 小程序、H5 与 RN 端统一框架

更新内容如下:

Bug Fixes

  • cli: copy 文件时,源文件与目标位置相同时报错 (3a9cbe8)

  • components: Picker 为 mode = date 属性 start与end 配置无效 close #2020 (25b7d43)

  • components: 修复 Picker 组件返回值问题 (d1d965b)

  • components: 修复 RichText className 属性问题 close #2013 (c2c28ea)

  • components webpack-runner: components打包问题修复 (d0f5732)

  • mobx-common mobx-h5: 增加编译代码 fix #2017 (82ffd4a)

  • router: 修复redirect到相同path时不渲染的问题 (7cfd45b)

  • taro: componentWillUnmount 方法中无法获取navigateTo传入的参数,close #2040 (fe9fdca)

  • taro-components: 修复 picker date,start end 无效 (6c6b244)

  • taro-h5: API createAnimation 挂载到 Taro 对象上 (ef2309b)

  • taro-swan/taro-tt: 百度和头条 properties 的 value 值设置成对应 defaultProps 的值,避免 null 值覆盖 initData 值 (1c79db3)

  • taro-tt: 修复字节跳动小程序同步获取自定义组件实例的问题 (#2029) (e168d2d)

  • transformer: 匿名函数 stopPropagation 无效 (81455f5)

  • transformer: 循环中自动的生成类型防御找不到值,fix #2037 (27234e1)

  • webpack-runner: 优先从项目根目录寻找依赖 避免重复打包 (e05b79f)

Features

  • cli: compile exclude 可以排除文件夹, close #1830 (2b0e999)

  • cli: 支持自定义 tabbar,close #2011 (4d77930)

  • CLI: 添加 taro info rn 的命令 (c6c6d75)

  • components: 新增 WebView 组件 close #2018 (fd57e13)

  • components: 调整了components的打包策略 (c85f0f4)

  • eslint: state/props 重名支持解析结构的情况 (12b6715)

  • eslint: 新规则:this.props 和 this.state 的键值不能重名,close #1996 (e8dc1cc)

  • rn: 新增deviceMotion,accelerometer两个API (6bef8f0)

  • taro-h5: createAnimation API 去除不必须信息 (3a1a891)

  • transformer: 事件传参支持使用匿名函数 (961b009)

  • transformer: 支持在循环中使用 if,close #1331 (09979cb)

  • webpack-runner: 支持修改dll的文件名 (438e1f3)

  • webpack-runner: 现在components可以具有treeshaking优化了 (9af11fa)

  • with-weapp: 支持 triggerEvent,close #1983 (c4fc12d)

更新日志

下载地址:https://github.com/NervJS/taro/releases/tag/v1.2.9


以上所述就是小编给大家介绍的《Taro 1.2.9 发布,BAT 小程序、H5 与 RN 端统一框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Cult of the Amateur

The Cult of the Amateur

Andrew Keen / Crown Business / 2007-6-5 / USD 22.95

Amateur hour has arrived, and the audience is running the show In a hard-hitting and provocative polemic, Silicon Valley insider and pundit Andrew Keen exposes the grave consequences of today’s......一起来看看 《The Cult of the Amateur》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器