Features 🛠️
- Dynamic Data Fetching: Retrieve data from a public API using asynchronous requests.
- Modular Components:
UsersButton,PostsButton, andCommentsButtonfor respective data fetching. - Error Handling: Manage fetching errors gracefully and display error messages.
- Data Visualization: Display data in a tabular format with the
DataTablecomponent. - Interactive Interface: User-friendly buttons to select the type of data to display.
Tech Stack 🧰
- React: Core framework for building the user interface.
- CSS: Styling for the application layout and components.
- Fetch API: Used for making network requests to the API.
Components 📦
- UsersButton/PostsButton/CommentsButton: Trigger data fetching from respective endpoints.
- DataTable: Renders the fetched data in a table format.
Tools Used
JSON
CSS
ReactJS