Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bhaveshdaswani93/1809361ba30ab5c9b6c3726fda19f60f to your computer and use it in GitHub Desktop.

Select an option

Save bhaveshdaswani93/1809361ba30ab5c9b6c3726fda19f60f to your computer and use it in GitHub Desktop.
Copilot Edit Mode Prompt
let use useFetchData to the api https://jsonplaceholder.typicode.com/posts
it has response live
[
{
"userId": 1,
"id": 1,
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
"body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"
},
{
"userId": 1,
"id": 2,
"title": "qui est esse",
"body": "est rerum tempore vitae\nsequi sint nihil reprehenderit dolor beatae ea dolores neque\nfugiat blanditiis voluptate porro vel nihil molestiae ut reiciendis\nqui aperiam non debitis possimus qui neque nisi nulla"
},
]
let use the response to show the data in table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment