extends React.Component
а сразу extends Component
$endpoint = 'https://clivir.ru/wp-json/wp/v2/posts';
$data = json_decode(file_get_contents($endpoint), true);
foreach ($data as $datum) {
$title = $datum['title']['rendered'];
$content = $datum['content']['rendered'];
// ...
}
this.conut = this.conut - count;
this.count = this.count - count;
pointer-events: none;
User::with('roles')->find(1);