Closed helsonxiao closed 4 years ago
顺便催一下 v4 ..
这个Toast 比较古老,所以参数不能改了。 你可以自己做一层。 4.0 期待更多反馈啊,好像没什么人反馈。 我也不敢发布,毕竟是有breaking change的。
这个Toast 比较古老,所以参数不能改了。 你可以自己做一层。 4.0 期待更多反馈啊,好像没什么人反馈。 我也不敢发布,毕竟是有breaking change的。
4.0.0-3
,目前体验下来,只有 Carousel 重构之后需要注意下 height,之前好像是默认撑满的。4.0
提供完善一些的样式/规范定制能力,碰到很多次样式变量不够用的情况,或是一些组件没有用规范里的变量。另外,@react-native-community/viewpager
这个库如果升级到 4.0,目前可能无法下载到,iOS 正常,编译安卓时报的错误就是下载不到,我降级到了 3.3.0 测试下来没问题。
用 maven { url 'https://jitpack.io' }
可解决
@helsonxiao 有没有空来个PR。 看看 Toast的更改,我在加班中... 😢
@helsonxiao 有没有空来个PR。 看看 Toast的更改,我在加班中... 😢
可以,估计下周。另外有个设想是,同时只能显示 1 个 Toast,叠加 Toast 的体验还蛮差的,这样在 Toast 里提供 remove/hide 方法也顺理成章。
这个你建议加一个 Toast.config
的话我想你知道怎么做了。 哈哈 做成可配置的就谁也不会受伤害
@helsonxiao
个人更期望 4.0 提供完善一些的样式/规范定制能力,碰到很多次样式变量不够用的情况,或是一些组件没有用规范里的变量。
这个具体指哪些地方
其实 也不一定要发布4.0.0,只是react-native 拆分了很多组件,不得不发布一个 不兼容的版本。
@helsonxiao
个人更期望 4.0 提供完善一些的样式/规范定制能力,碰到很多次样式变量不够用的情况,或是一些组件没有用规范里的变量。
这个具体指哪些地方
具体有点杂,我们在和 UI 确定规范的时候发现一些组件没有被你们的规范变量覆盖到,当时是看了几个组件的代码以后感觉不行,直接自己写了,我印象里 Input 这边变量问题比较多。具体的等我有时间看一下。
其实 也不一定要发布4.0.0,只是react-native 拆分了很多组件,不得不发布一个 不兼容的版本。
4.0 何时上线啊大佬。。。
What problem does this feature solve?
What does the proposed API look like?
目前我直接加了一层进行适配