question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

History component in React

See original GitHub issue

As we’ve built many features to justify the one-liner description of this project i.e. a go-to networking tool, now it’s time to revamp the existing UI.

Add a new component History.js which will display the details of last 10 scans. Refer the image attached below for design.

As of now, create the History.js which takes its data of last 10 scans from a json file scans.json(create a json file with harcoded data for last 10 scans) and displays according to the given UI

P.S. : The basic frontend on react is available on feature/frontend-react branch in the folder network-scanner. Add your components in the same branch. Do not make any changes in App.js / index.js.

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
nitish-awasthicommented, Mar 15, 2021

@ishika1727 Please also add level3 badge here.

0reactions
devRawniecommented, May 15, 2021

@vinitshahdeo Kindly look into the PR and merge the same if it is completed

Read more comments on GitHub >

github_iconTop Results From Across the Web

History - React Router: Declarative Routing for React.js
The term “history” and " history object" in this documentation refers to the history package, which is one of only 2 major dependencies...
Read more >
How to get history on react-router v4? - Stack Overflow
You just need to have a module that exports a history object. Then you would import that object throughout your project.
Read more >
React Router - How to pass History object to a component
With its help, you can pass the whole history object to your component as properties. They contains several useful data about routing.
Read more >
Using React with the History API - Pluralsight
React Router uses the history package, which builds on the browser history API to provide an interface to which we can use easily...
Read more >
Using 'history' to navigate your React app from outside a ...
Using 'history' to navigate your React app from outside a component · import React from 'react'; import ReactDOM from 'react-dom'; · import React...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found