How can I improve the Browser app to support a history feature for visited URLs? #63
Answered
by
IsmailBinMujeeb
Ziqian-Huang0607
asked this question in
Q&A
-
How can I improve the Browser app to support a history feature for visited URLs? |
Beta Was this translation helpful? Give feedback.
Answered by
IsmailBinMujeeb
Oct 3, 2025
Replies: 1 comment
-
To add history: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ziqian-Huang0607
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To add history:
1. In
src/app-components/browser.js
:javascript<br>const [history, setHistory] = useState([]);<br>const handleNavigate = (url) => setHistory([...history, url]);<br>
2. Render history list and test with
npm run dev
.3. Submit a pull request.