Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kriswallsmith
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
kriswallsmith
12y ago
Yes, the error action creator would be called from inside the store, which would in turn call handleServerAction. You may have been attempting to dispatch an action inside of an action, which isn't allowed. I hit that wall a few times.
2.
▲
by
kriswallsmith
12y ago
If you want to show an error when an AJAX request fails, that failure constitutes a change in application state, which should be reflected in a server action. This action would end up in an ErrorStore, which a DisplayErrors component would
3.
▲
Three ReactJS and Flux commandments
(kriswallsmith.net)
4 points
by
kriswallsmith
12y ago
|
5 comments