erikras / erikras/react-redux-universal-hot-example

Using __CLIENT__ in config.js

Open
#1,333 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Can anyone please tell me what I would need to import / require to use __CLIENT__ in the config.js module? I'm new to all this.

I want to run some code (only on the client) to read a cookie that specifies which config file to load when running in the browser.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.