Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent articles should be updated as new ones are created #441

Open
emilgoldsmith opened this issue Aug 22, 2018 · 0 comments
Open

Recent articles should be updated as new ones are created #441

emilgoldsmith opened this issue Aug 22, 2018 · 0 comments

Comments

@emilgoldsmith
Copy link
Member

Expected Behavior

If I create a new article in the admin interface and press return to list the new article should show up in recent articles

Current Behavior

Recent articles only seem to work after refreshing the page, not when staying within the single page application

Possible Solution

It seems since refreshing works that the serverside cache is properly invalidated in Falcor but maybe not the clientside one? Or maybe the list is never unmounted and therefore doesn't do a new falcor fetch? I'm not 100% sure but I think that's the kind of things to look for

Steps to Reproduce (for bugs)

  1. Create new article
  2. Press return to list
  3. See that recent articles aren't updated with the newest one being the one you just created
  4. Refresh page
  5. See that it is now updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant