Minor docs fixes

This commit is contained in:
Nicolas Gallagher
2017-12-30 18:00:33 -08:00
parent bff3f50ae0
commit 0d0fdc15ac
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ URL, e.g., `?css-modules,react-native-web`.
These benchmarks are crude approximations of extreme cases that libraries may
encounter. The deep and wide tree cases look at the performance of mounting and
rendering large trees of styled elements. The Triangle cases looks at the
rendering large trees of styled elements. The Triangle case looks at the
performance of repeated style updates to a large mounted tree. Some libraries
must inject new styles for each "dynamic style", whereas others may not.
Libraries without support for dynamic styles (i.e., they rely on user-authored
@@ -52,4 +52,5 @@ These results indicate that render times when using `react-native-web`,
significantly faster than alternatives.
*MacBook Pro (13-inch, Early 2011); 2.3 GHz Intel Core i5; 8 GB 1333 MHz DDR3. Google Chrome 62.
‡Glamor essentially crashes
‡Glamor essentially crashes the browser tab.

View File

@@ -151,7 +151,7 @@ const ScrollViewScreen = () => (
<DocItem
name="scrollTo"
typeInfo="(options: { x: number = 0; y: number = 0; animated: boolean = true }) => void"
description="Scrolls to a given `x`, `y` offset (animation is not currently supported)."
description="Scrolls to a given `x`, `y` offset (animation depends on browser support for 'scroll-behaviour')."
example={{
render: () => <ScrollToExample />
}}