Skip to content

algoliasearch/lite and server-side rendering #283

Closed
@vslio

Description

@vslio

Hello!

I'm currently working on a React application which supports server-side/universal rendering. Importing the lite version of algoliasearch leads to a ReferenceError: window is not defined error (wrong module.exports?). However, importing the full version of algoliasearch, ie: import search from 'algoliasearch' works perfectly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions