flux icon indicating copy to clipboard operation
flux copied to clipboard

why use ChatWebAPIUtils on app.js ?? [flux-chat]

Open victor-web opened this issue 10 years ago • 2 comments

why call getAllMessages on view ??

https://github.com/facebook/flux/blob/master/examples/flux-chat/js/app.js#L23

isn't better to have an action to do this??

victor-web avatar Jun 13 '16 14:06 victor-web

From #187

The server interaction is getting faked with local storage in the chat app. I wouldn't take it too seriously.

Firing an action instead sounds reasonable too.

kyldvs avatar Jun 13 '16 15:06 kyldvs

sounds not real world.

victor-web avatar Jun 13 '16 16:06 victor-web