const items = filteredProducts.filter((product) => product.category === "Some, category");
return (
<div className="products-list">
<Title title="Some Title" />
<div className="products-container">
<p>{items.length}</p>
</div>
<div className="products-container">
{items.map((product) => (
<ProductCard
key={product.id}
product = {product}
/>
)}
</div>
</div>
);
var bisOne = [1,2,3,4,5].map(function(e){return e*10});
var bisOne = [1,2,3,4,5];
bisOne.forEach(function(e,i,arr){arr[i]=e*10});
.then( response => console.log(response.now_dt) )
Или уже для такого количества записей лучше использовать аналоги PhpMyAdmin? MongoDB - может?Судя по такой постановке вопроса, вам для начала нужно разобраться чем PhpMyAdmin отличается от Mysql.
Cache::remember('key', 60, function () {
return file_get_contents('http://json/');
});
.menu__icon
display: none
<?php
class Parent {
protected $var;
public function setVar($value) {
$this->var = $value;
}
}
class Child extends Parent {
public function getVar() {
return $this->var;
}
}
$child = new Child();
$child->setVar('asdad');
var_dump($child->getVar());
.modal-popup__form
padding: 35px 40px 50px 40px
@media screen and (min-width: 481px)
.modal-popup__form
padding: 35px 88px 50px 88px