Why is React not displaying any data?

Why is React not displaying any data?

I would like to display this on the page:

import React, { Component } from 'react';
import axios from 'axios';

I would like to display this on the page:

class ProjectDeatil extends Component {

constructor(props) { super(props);

this.state = { user: { name: '' } }; }

.

componentDidMount() {

const { match: { params } } = this.props;

axios.get(http://localhost:8000/api/project/${params.pk}) .then(({ data: user }) => { console.log( user);

this.setState({"User:": user });

}); }

I added her const

 render() {
     const{ user } = this.state;
return (

Then I tried displaying it again and it still didn't work

 <div className="col-md-4 text-white   animated fadeInUp delay-2s if " >
 <h1>{user.title}</h1>
 <h1> Hello Dear</h1>
 </div>

I also tried using django rest api and that also didn't work.

    </div>

); }
} export default ProjectDeatil


django reactjs

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Main Pros and Cons of Django As A Web Framework for Python Developers

India's best Institute for Django Online Training Course & Certification. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Python Django Tutorial | Django Course

🔥Intellipaat Django course: https://intellipaat.com/python-django-training/ 👉This Python Django tutorial will help you learn what is django web development &...

A recipe-sharing social networking application with ReactJS and Django

A recipe-sharing social networking application. ReactJS/Redux frontend and Django Rest Framework backend

django-allauth Django REST Framework |teratail

Djangoアプリを、当初は Django REST Framework (DRF) を使わずに作成しました。(認証パッケージは、 django-allauthを使用)アプリリリース後に、DRFも追加で導入して、DRFで作成したAPIでのデ

Why ReactJS is better for Web Application Development?

Web Application Development is the point of contact for a business in today's digital era. It is important to choose the right platform for Web Application Development to build a high end Web