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

How to dispatch action client side only?

Open
#971 11 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

I need to call some specific actions on my client side only. Specifically I need to make some ajax calls only on client side page load. I also need to call a deserialize function to convert the loaded server data into some class based data objects.

It seems like when using the decorator `@connectData( fetchData, fetchDataDeferred )` neither function is called on the server side on first page load.

The Widgets page mentions "This uses the static method `fetchDataDeferred`" but that method isn't real.

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.