reactivesearch
reactivesearch copied to clipboard
transformRequest doesn't work in SSR if graphQlUrl isn't defined
Affected Projects React
Library Version: x.y.z 3.11.2
Describe the bug
transformRequest doesn't work in SSR if graphQlUrl isn't defined. Hence SSR gives a different set of results and client side re-rendering is performed.
To Reproduce
Steps to reproduce the behavior:
Simply provide a transformRequest function to initReactiveSearch but don't provide graphQlUrl.
Expected behavior
transformRequest should be executed on the finalQuery regardless of presence of graphQlUrl.