main
main copied to clipboard
Triggers for re-render of RSVP list
Similar to #53 , sometimes a user will be working with the list of RSVPs for an event, when the underlying data changes. For example another user will delete an existing RSVP, or a new RSVP will be added, etc.
How will we become aware of these changes, and re-display the RSVP list for the user?
Normally this would be a subscription, but I don't think that it makes sense to try to integrate redux or flux into react on rails, so I think it's just polling with this: https://www.npmjs.com/package/react-refetch