Releases: Mhp23/react-native-full-responsive
Releases · Mhp23/react-native-full-responsive
Release 2.4.1
Release 2.4.0
2.4.0 (2025-01-12)
Bug Fixes
- Removing any from the patterned type (8de1e14)
Performance Improvements
- Reducing the package size
- Improving readability and performance of the mapping and parsing methods (5c016e2)
Breaking Changes
- The
linear
method has been removed, and therecursive
method is set as the default parsing method. - For type-safing the patterned style when using a variable like
${size}rs
, it will be handled during style parsing and returnundefined
for properties that shouldn't beundefined
. To avoid type errors, you can handle this in your code or add an exclamation mark at the end of the value, like${size!}rs
. - The responsive methods will return the passed value instead of zero if the value isn't numeric
Full Changelog: v2.3.1...v2.4.0
Release 2.3.1
Release 2.3.0
Release 2.2.2
Release 2.2.1
Release 2.2.0
Release 2.1.1
v2.1.0
Adding createRStyle and useRStyle hooks to create responsive styles.
Adding more examples, fixing some issues, and making improvements.
Full Changelog: v1.1.0...v2.1.0
Release 1.1.0
1.1.0 (2024-01-05)
Documents completely rewritten. Full usage documents for methods and hooks added.