meteor / meteor/devshopquestions

Twitter feed doesn't load on "back"

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

1. Go to main page
2. Navigate to `/displays`
3. Navigate to main page
4. Hit the "back" button

Expected: everything renders correctly on /displays page

Actual result: /displays page loads w/o twitter feed

So the JS code rendering twitter widget isn't ran again. The solution is to put that code in `Deps.autorun` and depend on /displays

Contributor guide

Open the contributing guide

Research direction

Start at the JavaScript that renders the Twitter widget for /displays and trace how navigation back reaches that page. Put that rendering in Deps.autorun with /displays as a dependency, then verify the reproduction steps and that the Twitter feed appears after using Back.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.