Skip to content

Commit f4f5d44

Browse files
committed
docs: add speed as feature, w/ link to benchmark
1 parent 7c44ac2 commit f4f5d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ const MyComponent = () => (
2121
[image](https://reactnative.dev/docs/image-style-props),
2222
[shadow](https://reactnative.dev/docs/shadow-props), and
2323
[text](https://reactnative.dev/docs/text-style-props)).
24+
- very fast: best performance of all RN styling libraries, according to
25+
[this benchmark](https://github.com/efstathiosntonas/react-native-style-libraries-benchmark).
2426
- compatible with Tailwind CSS v3 and v2
2527
- respects your `tailwind.config.js` for full configuration
2628
- platform prefixes: `android:mt-4 ios:mt-2`
@@ -34,7 +36,6 @@ const MyComponent = () => (
3436
- merges supplied RN style objects for unsupported utilities or complex use cases
3537
- supports custom utility creation via standard
3638
[plugin config](https://tailwindcss.com/docs/adding-new-utilities#using-a-plugin).
37-
- heavily optimized for performance - styles resolved once, then stored in in-memory cache
3839
- flexible, conditional styles based on
3940
[classnames package api](https://github.com/JedWatson/classnames).
4041
- written 100% in Typescript, ships with types

0 commit comments

Comments
 (0)