Cách Truy Cập Tham Số (Params) Trên Thanh URL Đối Với Class Component Trong ReactJs| G.Nghiêm
135 بار بازدید -
9 ماه پیش
-
Cách Truy Cập Tham Số
Cách Truy Cập Tham Số (Params) Trên Thanh URL Đối Với Class Component Trong ReactJs| G.Nghiêm
*Note:
const search = window.location.search;
const params = new URLSearchParams(search);
const kitu = params.get('id');
#it
#code
#reactjs
*Note:
const search = window.location.search;
const params = new URLSearchParams(search);
const kitu = params.get('id');
#it
#code
#reactjs
9 ماه پیش
در تاریخ 1402/08/13 منتشر شده
است.
135
بـار بازدید شده