reactivesearch icon indicating copy to clipboard operation
reactivesearch copied to clipboard

transformRequest doesn't work in SSR if graphQlUrl isn't defined

Open divyadeep-MT opened this issue 5 years ago • 0 comments

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.

divyadeep-MT avatar Aug 24 '20 12:08 divyadeep-MT