Skip to content

Commit d32d34f

Browse files
committed
Update README.md
1 parent 2702c2a commit d32d34f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -619,19 +619,19 @@ Consider a normal search page with basic layout as shown in the figure below and
619619
}
620620
```
621621
- **fields** : This is an array of all required fields for generating result template. This is helpful to load the results faster. An example implementation is below
622-
```javascript
623-
...
624-
,fields : ['image_url','title','brand','price','uniqueId']
625-
...
626-
```
622+
```javascript
623+
...
624+
,fields : ['image_url','title','brand','price','uniqueId']
625+
...
626+
```
627627
- **deferInitRender** : This is an array of library features that need to be disabled on initial load.
628-
```javascript
628+
```javascript
629629
...
630630
,deferInitRender: ['search']
631631
...
632632
// The above config means the search results wont be rendered by the SDK on the first page.
633633
// The other pages though, will be rendered by the SDK.
634-
```
634+
```
635635

636636
Note: The HTML served by the server to client should have the minimum requred structure. *Check the below image.*
637637

@@ -689,4 +689,4 @@ Note: The HTML served by the server to client should have the minimum requred st
689689
</script>
690690
</body>
691691
</html>
692-
```
692+
```

0 commit comments

Comments
 (0)