Тёмный

Stop Ejecting Create React App 

basarat
Подписаться 150 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@rallokkcaz
@rallokkcaz 8 месяцев назад
No, just no. Ya'll have no idea how bad it truly gets because you probably have a counter react app or a Pokemon creature browser lol. 😢The standards of web developers have fallen so far... please go away.
@noccer
@noccer 2 года назад
Very cool, thanks ☘️
@TheJobCompany
@TheJobCompany 2 года назад
*59* vulnerabilities (16 *moderate* , 41 *high* , 2 *critical* )
@basarat
@basarat 2 года назад
Sounds like Lodash 🌹😅
@logeshkumarr4316
@logeshkumarr4316 2 года назад
But craco do not support cra5
@basarat
@basarat 2 года назад
You are correct. Hopefully soon it will though 🙏
@arcadan
@arcadan 2 года назад
Bro i did all these steps but i got a fat error saying Node problems, also something that they couldn't find the craco.config.js (although it's there on the root path of my project) Do you guys know if I have to add any Additional content to this file? I've tried to delete node-modules, restart my IDE, delete package-lock.json, restart my computer, and I'm still getting the same issue. If someone could help with it, comment below, thank you
@firedforfighting
@firedforfighting 2 года назад
I had just learn't about react eject and was so happy but clicked on this video just incase, I did not know about the updating problem afterward!!, nice tip on save exact as well! Thank You
@gyenabubakar
@gyenabubakar 2 года назад
Great video man! You earned a subscriber. Could you make a video on Setting up Airbnb ESLint/Prettier with TypeScript-React
@roaring-turtle
@roaring-turtle 2 года назад
How can I do this with css modules when importing other stylesheets into my module.css file?
@Ebizzill
@Ebizzill 2 года назад
question, why the $1 in components$1 on the moduleNameMapper configuration ?
@basarat
@basarat 2 года назад
Thanks for the question It’s a placeholder for whatever gets matched. You can read about it more here: jestjs.io/docs/configuration
@abdulwaheed4470
@abdulwaheed4470 2 года назад
Deleting generated file... package.json solution plzz....?
@basarat
@basarat 2 года назад
Elaborate a bit more 🙏🏻
@avi3681
@avi3681 2 года назад
This is perfect. I was just having a similar issue. CRA doesn't let me import modules from outside the src folder. Is there a way to enable this with craco?
@basarat
@basarat 2 года назад
Answer seem yes 🌹: stackoverflow.com/a/60353355/390330 + stackoverflow.com/a/58603207/390330 ❤️
@avi3681
@avi3681 2 года назад
@@basarat thank you so much.
@cas818028
@cas818028 2 года назад
So 20 additional steps to avoid relative paths?
@basarat
@basarat 2 года назад
After the 20'th time one sees `../../../` one might feel differently 🌹 Personally I'm fine with relative paths and don't even bother "clean up imports". My brain filters out that portion of source code 🤷🏻‍♂️
@tarekghosn3648
@tarekghosn3648 2 года назад
thanks dude
@basarat
@basarat 2 года назад
Thanks for leaving a comment
@jackesdavid
@jackesdavid 2 года назад
Stop using these ingenuous frameworks and start learning JavaScript.
@МихаилЧистяков-р9б
Thanks, it was pleasure to watch. Subscribed. As of October 2022 I would rather recommend react-app-rewired which is way more popular that craco.
@basarat
@basarat 2 года назад
Noted! Thanks for highlighting Had a quick look github.com/timarney/react-app-rewired#rewire-your-app- "As of Create React App 2.0 this repo is "lightly" maintained mostly by the community at this point." But real world milage will vary 😅
Далее
You might not need useEffect() ...
21:45
Просмотров 162 тыс.
Create A React App Without Create-React-App
18:47
Просмотров 30 тыс.
Вопрос Ребром - Серго
43:16
Просмотров 1,2 млн
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 1,1 млн
Conditional Rendering Best Practices for React
8:33
React Webpack Setup From Scratch
20:53
Просмотров 59 тыс.
TypeScript TYPES vs INTERFACES (Key Differences)
7:16
Stop Using Create React App
10:22
Просмотров 337 тыс.
Hand-cut curves in wood. NO BANDSAW.
12:06
Просмотров 165 тыс.
How a React App Works Under the Hood
14:18
Просмотров 58 тыс.
Вопрос Ребром - Серго
43:16
Просмотров 1,2 млн