This gist contains examples of how I work with the mocks REST API in tests and storybook in the react application. The examples were written for an article on my blog.
This is an example of issue for RTK Query API pain points and rough spots feedback thread · Issue #3692 · reduxjs/redux-toolkit
So, my scenario is:
- Display current user name, avatar, etc. in many nooks of the app.
- Show some placeholders before profile is loaded.
- Allow user to update profile and show new profile data after this.
I have following endpoints:
Use feedly or any other RSS Reader app to read blocked media. Copy URL of media you want to read and paste it to your RSS Reader app.
- BBC NEWS | Русская служба. В фиде только заголовки и краткое описание
https://feeds.bbci.co.uk/russian/rss.xml
- Meduza: Все посты. В фиде только заголовки и краткое описание
https://meduza.io/rss/all
- Meduza: Только новости. В фиде только заголовки и краткое описание
https://meduza.io/rss/news
Я пишу чеклисты для разных ситуаций, чтобы успокоить разум. Всё описанное ниже является моим личным мнением, это не стоит рассматривать как призыв к действию. Однако, если какой-то список показался вам любопытным, сохраните его у себя на случай, если доступ к этому документу пропадёт.
Кликайте на треугольники, чтобы посмотреть список.
Запомните важные телефоны
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <cstdlib> | |
#include <math.h> | |
using namespace std; | |
// Трансформируемая функция | |
float transforming_func(float x) { | |
float bottom = 1 + pow(x, 2.0); |