You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ Insert description and implementation here
86
86
ReactCC gives you access to all four of React 16's server-side rendering methods, as well as additional functionality. ReactCC methods are described below.
87
87
88
88
### ComponentCache
89
-
-`size`: (Optional) An integer representing the maximum size (in characters) of the cache. Defaults to 1 million.
89
+
-`size`: (*Optional*) An integer representing the maximum size (in characters) of the cache. Defaults to 1 million.
90
90
91
91
**Example:**
92
92
```javascript
@@ -96,7 +96,7 @@ const cache = new ReactCC.ComponentCache();
96
96
### renderToString
97
97
-`component`: The React component being rendered.
98
98
-`cache`: The component cache
99
-
-`memLife`: (Only if using Memcached) A number representing the lifetime (in seconds) of each Memcached entry. Defaults to 0.
99
+
-`memLife`: (*Only if using Memcached*) A number representing the lifetime (in seconds) of each Memcached entry. Defaults to 0.
0 commit comments