-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(postcss-pxtransform):使用lib-flexible适配库 #4609
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ize/useShareAppMessage/useTabItemTap/useRouter hooks
1. 更新 eslint, fix NervJS#3598 2. 使用新 parser,fix NervJS#4161, fix 4152
修复 shallowEqual(true, undefined) 返回 true 的问题
对于循环,先删除 PropsManager 中旧 compid 对应的 props,再生成新 compid 对应的 props。 目的是绕过微信小程序加 key 后 diff 算法某些情况时会先卸载组件再加入组件,以致卸载组件时把新 props 清理掉。NervJS#4497
与旧方案相比的优势是? |
旧方案在H5开发时候无论是选择750的设计还是375的设计稿,在按照设计稿写样式使用PX的写样式时候与设计图的转换后的REM在对应的宽高间距对不上。更改pxtransform库h5的转换增加lib-flexible以后,完全可以按照设计稿的PX大小写,而且适应性好。
…------------------ 原始邮件 ------------------
发件人: "Li,Weitao"<[email protected]>;
发送时间: 2019年10月21日(星期一) 晚上7:41
收件人: "NervJS/taro"<[email protected]>;
抄送: "11630149"<[email protected]>;"Author"<[email protected]>;
主题: Re: [NervJS/taro] fix(postcss-pxtransform):使用lib-flexible适配库 (#4609)
与旧方案相比的优势是?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
这个 PR 做了什么? (简要描述所做更改)
这个 PR 是什么类型? (至少选择一个)
这个 PR 满足以下需求:
这个 PR 涉及以下平台:
其它需要 Reviewer 或社区知晓的内容:
修改px转换rem计算方法,适应ib-flexible库