Nick Gerleman
02e29abead
Improve handling of invalid DimensionValue usage ( #36346 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36346
1. Remove Paper native assertions for converting DimensionValue string to Yoga unit, and fix a case where Fabric could throw on invalid value.
2. Move DimensionValue types in TypeScript to use template literal types, to show malformed strings in-editor, during typechecking. Update min TS version to allow this (in conformance with the min TS version used by DefinitelyTyped).
Changelog:
[General][Added] - Improve handling of invalid DimensionValue usage
Reviewed By: javache
Differential Revision: D43153075
fbshipit-source-id: db4e813df6e81cbd3158edad7c07c7a90c009803
2023-03-02 20:23:08 -08:00
..
2022-09-08 19:56:22 -07:00
2022-08-11 04:37:35 -07:00
2022-07-08 15:07:55 -07:00
2022-12-02 09:08:16 -08:00
2022-12-02 09:08:16 -08:00
2021-12-30 15:11:21 -08:00
2022-09-08 19:56:22 -07:00
2022-09-08 19:56:22 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-09-09 15:10:14 -07:00
2022-02-25 08:50:34 -08:00
2022-02-25 08:50:34 -08:00
2022-08-27 07:08:30 -07:00
2022-08-27 07:08:30 -07:00
2021-12-30 15:11:21 -08:00
2022-11-21 10:36:05 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-10-18 15:09:23 -07:00
2022-10-18 15:09:23 -07:00
2023-02-15 09:34:23 -08:00
2023-03-02 20:23:08 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-12-08 14:57:29 -08:00
2021-12-30 15:11:21 -08:00
2022-11-16 06:27:35 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-06-21 07:36:01 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-03-15 05:58:52 -07:00
2022-03-15 05:58:52 -07:00
2023-02-24 03:54:02 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-09-26 07:13:52 -07:00
2022-02-14 19:42:07 -08:00
2022-02-14 19:42:07 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-09-08 19:56:22 -07:00
2021-12-30 15:11:21 -08:00
2022-08-08 03:50:58 -07:00
2022-09-09 15:10:14 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-06-14 13:37:04 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-09-09 15:10:14 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-06-28 08:56:25 -07:00
2022-06-28 08:56:25 -07:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2021-12-30 15:11:21 -08:00
2022-10-04 08:36:21 -07:00
2022-03-02 14:09:56 -08:00