React to put a small line in my code (learn)
I press the login button, it makes me logged in.Send to the server requests that we enter and receive a response, process it.At the same time, the site hat shows one and the other header if I was logged and not logged.Logan
https://github.com/VladislavBrykov/stackOverflowClient/blob/master/my-app/src/pages/guest/LoginPage.jsx
Headers
https://github.com/VladislavBrykov/stackOverflowClient/blob/master/my-app/src/components/app-header/app-header.js
props this.setState.loggedIn I appear in LoginPage.jsx but track its value I want in app-header.js and this I for some reason can’t do
If I display this.setState.loggedIn in LoginPage.jsx === "onn" and I want to track it in app-header.js, then the value is undefined to me.I can't transfer this.setState.loggedIn field to the app-header.js component may show this field needs somewhere at the top level, but I don't understand it) you need to realize it
As we can fix it quickly, you take the order, I give you access to my TeamViever note and you do it all.Fast and convenient.You don’t have to install anything on your computer.Well, or if the cause is thrown straight into the eye - you fix, and I start.
Есть мой код
Нажимаю на кнопку логин, меня залогинивает. Отправляются на сервер запрос что мы входим и получаю ответ, обрабатываю его. При этом, в шапке сайта показывается один и другой хедер если я был залогинен и не залогинен.
обновляю страничку и только тогда меняется хедер
логин
хедер
props this.setState.loggedIn я обьявляю в LoginPage.jsx но отслеживать его значение хочу в app-header.js и это я по какой-то причине сделать не могу
если я в LoginPage.jsx обьявляю this.setState.loggedIn === "onn" и хочу его отследить в app-header.js, то значение мне выводит undefined.
я не могу передать поле this.setState.loggedIn компоненту app-header.js возможно обьявлять это поле нужно где-то на высшем уровне, но я этого не понимаю) нужно это реализовать
Как мы можем это быстро починить, вы берете заказ, я даю вам доступ к моему ноуту чете TeamViever и вы все чините. Быстро и удобно. Ничего вам себе на комп устанавливать не нужно. Ну или если причина прям в глаза кидается - исправляете, а я запускаю.
Client's review of cooperation with Aleksey S.
React to put a small line in my code (learn)The officer was in contact for 24 hours. He immediately realized what was needed from him, fulfilled the task set for the first time. I am very satisfied.
Freelancer's review of cooperation with Vlad Brykov
React to put a small line in my code (learn)The customer is a responsible and kind person, responds as quickly as possible. He learns programming, and he has potential. I will be happy to work with him. I recommend cooperation
-
899 21 0 1 Good time of day.
I am a full stack web developer, I have been developing experience on react and node.js for more than 3 years.
Ready to complete your project with the highest quality in a short time.
Write, we will discuss the details, and I will begin the work.
With respect, Alexey
-
обновляю страничку и только тогда меняется хедер
-
Current freelance projects in the category Javascript and Typescript
Optimization of WordPress site speed
113 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 4 hours 42 minutes back ∙ 39 proposals |
Integration of a service cost calculator on the Webflow site
330 USD
We are looking for a developer to integrate a ready-made service cost calculator into our website, created on Webflow. About the company We are engaged in: furniture assembly; TV mounting; mounting shelves, pictures, mirrors, and other items; moving help; heavy lifting; handyman… Javascript and Typescript, Web Programming ∙ 5 hours 42 minutes back ∙ 38 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 3 days 12 hours back ∙ 86 proposals |
Development of a WebGL/Three.js scene with generation and export of 3D (snapshot) from an animated shaderObject Description:The project is a designer table shaped like a realistic, deep whirlpool (a central vortex that smoothly transitions from a wide horizontal tabletop to a thin elegant leg). Task Essence:A WebGL / Creative Coding developer is required to create an interactive 3D… Javascript and Typescript, Web Programming ∙ 4 days 8 hours back ∙ 30 proposals |
Support and development of the cleaning company's website
20 USD
I'm looking for a web developer/webmaster for long-term support and development of a cleaning company's website. Website: https://donely.ca About the project DoneLy Home Services is a cleaning service company in Canada that is actively growing and expanding its geographical… Javascript and Typescript, Web Programming ∙ 6 days 10 hours back ∙ 64 proposals |



