Size: a a a

React — русскоговорящее сообщество

2021 March 23

D

D M in React — русскоговорящее сообщество
Денис Саенко
Как осуществить навигацию роутером вне компонента?
https://reactrouter.com/web/api/Router
Создаешь свой инстанс history, который будешь юзать за пределами react, и передаешь его в router
источник

ДС

Денис Саенко... in React — русскоговорящее сообщество
D M
https://reactrouter.com/web/api/Router
Создаешь свой инстанс history, который будешь юзать за пределами react, и передаешь его в router
Спасибо
источник

SM

Serj Marin in React — русскоговорящее сообщество
Господа, artifactId не добавляется к ссылкам, поэтому путь становится не рабочим.
Проект не правильно собирается ?
источник

꧁岡

꧁倫太郎 岡部꧂... in React — русскоговорящее сообщество
Serj Marin
Господа, artifactId не добавляется к ссылкам, поэтому путь становится не рабочим.
Проект не правильно собирается ?
А ты тоже мысли читать умеешь?
источник

SM

Serj Marin in React — русскоговорящее сообщество
по идее этот artifactId  нужно добавлять везде перед ссылками, где-то в реакте надо при сборке это делать...
путь должен выглядеть как
cinema_war_exploded/static/js/main.5fea8728.js

не знаю как правильно собирать.
Сделал так :
frontend-maven-plugin запускает npm install и build
Затем maven-antrun-plugin копирует /react/build в корень проекта, но ссылки кривые
источник

SM

Serj Marin in React — русскоговорящее сообщество
Serj Marin
по идее этот artifactId  нужно добавлять везде перед ссылками, где-то в реакте надо при сборке это делать...
путь должен выглядеть как
cinema_war_exploded/static/js/main.5fea8728.js

не знаю как правильно собирать.
Сделал так :
frontend-maven-plugin запускает npm install и build
Затем maven-antrun-plugin копирует /react/build в корень проекта, но ссылки кривые
решение проблемы :
<environmentVariables>
   <PUBLIC_URL>http://localhost:8080/${project.artifactId}</PUBLIC_URL>
   <REACT_APP_ROUTER_BASE>/${project.artifactId}</REACT_APP_ROUTER_BASE>
</environmentVariables>;
источник

A

Alex in React — русскоговорящее сообщество
Ребят, здравствуйте, я ищу ментора, по нативному джс с и с опытом в разработке интерфейсов, буду благодарен за помощь.
источник

ЕЛ

Евгений Леденёв... in React — русскоговорящее сообщество
Никита Щербаков
Ребята может кто то подскажет где можно найти ментора по React.js ?
За деньги на каких-то курсах или на работе.
источник

~

~$solo in React — русскоговорящее сообщество
Alex
Ребят, здравствуйте, я ищу ментора, по нативному джс с и с опытом в разработке интерфейсов, буду благодарен за помощь.
It-Kamasutra, Димыч
источник

KJ

Kamran Javed in React — русскоговорящее сообщество
Hello Everyone i am working on MERN Stack since last 2 Years. i am having a question which is related to "REAL TIME LOCATION SYSTEM" and my Question is

Q1:- My client has 1000 devices which is implemented on some cars, forklift or some of in the human hand , and he want to track every single device location and see on his display Real-Time. My question is how to track all device information at a time . I am using MongoDB for database. I plan to solve this problem using develop a API with the combination of the hardware SDK which will trigger after every 3-5 sec. but can this is the best approach that the data first go to the DB then by using web socket its displayed. can its not delayed ? and if not then what is the best ideal way to achieve this?

Q2:- i have calculated the data size which is generated by all device is approx 400-500GB every month & i have to take record of last 3 month data. Now as i am using mongoDB as DB so how i can minimize the size and maintain High Scale Availability?

Q3:- And the most important one is Client want to deploy the APP Locally. I am using nodejs and Express for creating Server in the back-end development . If anyone know any way how to store real time data please help?
источник

S🛸

Sergey 🛸 in React — русскоговорящее сообщество
Kamran Javed
Hello Everyone i am working on MERN Stack since last 2 Years. i am having a question which is related to "REAL TIME LOCATION SYSTEM" and my Question is

Q1:- My client has 1000 devices which is implemented on some cars, forklift or some of in the human hand , and he want to track every single device location and see on his display Real-Time. My question is how to track all device information at a time . I am using MongoDB for database. I plan to solve this problem using develop a API with the combination of the hardware SDK which will trigger after every 3-5 sec. but can this is the best approach that the data first go to the DB then by using web socket its displayed. can its not delayed ? and if not then what is the best ideal way to achieve this?

Q2:- i have calculated the data size which is generated by all device is approx 400-500GB every month & i have to take record of last 3 month data. Now as i am using mongoDB as DB so how i can minimize the size and maintain High Scale Availability?

Q3:- And the most important one is Client want to deploy the APP Locally. I am using nodejs and Express for creating Server in the back-end development . If anyone know any way how to store real time data please help?
You're asking these questions in a wrong group, here you have to ask questions only about react and JavaScript
источник

ЕЛ

Евгений Леденёв... in React — русскоговорящее сообщество
Kamran Javed
Hello Everyone i am working on MERN Stack since last 2 Years. i am having a question which is related to "REAL TIME LOCATION SYSTEM" and my Question is

Q1:- My client has 1000 devices which is implemented on some cars, forklift or some of in the human hand , and he want to track every single device location and see on his display Real-Time. My question is how to track all device information at a time . I am using MongoDB for database. I plan to solve this problem using develop a API with the combination of the hardware SDK which will trigger after every 3-5 sec. but can this is the best approach that the data first go to the DB then by using web socket its displayed. can its not delayed ? and if not then what is the best ideal way to achieve this?

Q2:- i have calculated the data size which is generated by all device is approx 400-500GB every month & i have to take record of last 3 month data. Now as i am using mongoDB as DB so how i can minimize the size and maintain High Scale Availability?

Q3:- And the most important one is Client want to deploy the APP Locally. I am using nodejs and Express for creating Server in the back-end development . If anyone know any way how to store real time data please help?
You put to the database data from each device but for your application, you should read object with data of all devices. I think mongo isn't the best choice for that. Maybe postgres will be faster. If you have too much data you can save data to database each 3/5/30/60 seconds. You can put all data to some fast storage, like redis, and save it to the database every few seconds. You will lose some data, but you will save space.
источник

GV

Gert Vali in React — русскоговорящее сообщество
Liz 04k@
И я пытаюсь понять что именно нужно знать
Там список может быть до небес
источник

Д

Дмитрий in React — русскоговорящее сообщество
Никита Щербаков
Ребята может кто то подскажет где можно найти ментора по React.js ?
источник

Д

Дмитрий in React — русскоговорящее сообщество
Liz 04k@
И я пытаюсь понять что именно нужно знать
источник

M

Maksim in React — русскоговорящее сообщество
React 17 вышел☺️
источник

ИЕ

Иван Егоров... in React — русскоговорящее сообщество
Так вроде давненько.
источник

M

Maksim in React — русскоговорящее сообщество
Ой, 17.0.1 и 17.0.2:)
источник

ИЕ

Иван Егоров... in React — русскоговорящее сообщество
17.0.2 видимо. До 17.0.1 я 2 недели назад обновился.
источник

JK

Jasur Kurbanov in React — русскоговорящее сообщество
Всем привет
источник