_
(_variables.scss
и т.п.). fillhttps://nextjs.org/docs/app/api-reference/componen...
fill={true} // {true} | {false}
A boolean that causes the image to fill the parent element instead of setting width and height.
присылает 404Ну а зачем вы на неправильные поддомен и эндпоинт запрос-то делаете?
Итак, что делает метод response.formData внутри fetch? Подскажите, кто знает, как его правильно применять.
The formData() method of the Response interface takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object.
Note: This is mainly relevant to service workers. If a user submits a form and a service worker intercepts the request, you could for example call formData() on it to obtain a key-value map, modify some fields, then send the form onwards to the server (or use it locally).
событие только для вывода пользователю?Что это значит в вашем понимании и с чего вы это взяли?
For any TIMESTAMP or DATETIME column in a table, you can assign the current timestamp as the default value, the auto-update value, or both:
- An auto-initialized column is set to the current timestamp for inserted rows that specify no value for the column.
- An auto-updated column is automatically updated to the current timestamp when the value of any other column in the row is changed from its current value. An auto-updated column remains unchanged if all other columns are set to their current values. To prevent an auto-updated column from updating when other columns change, explicitly set it to its current value. To update an auto-updated column even when other columns do not change, explicitly set it to the value it should have (for example, set it to CURRENT_TIMESTAMP).
What is an early return?https://dev.to/jpswade/return-early-12o5
An early return, or “return early” is an approach to keep readability in functions and methods.
It is always considered a wise choice to return early if simple conditions apply that can be checked at the beginning of a method.
- document.querySelector('container');
+ document.querySelector('.container');