How to set up React JS with Parcel V2

  Рет қаралды 6,111

The Code Creative

The Code Creative

Күн бұрын

Пікірлер: 25
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Download my FREE "Google Search Secrets for Developers" Cheat Sheet: store.thecodecreative.com/google-secrets-cheat-sheet
@dazecm
@dazecm 2 жыл бұрын
Wow! Newcomer to Parcel here and it seems like a great tool for improving the developer experience when creating React apps. Those blazing fast hot-reload and build times really do super-charge the 'inner dev loop'. Thanks for sharing.
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thanks Darren, glad it was helpful!
@wasteghost
@wasteghost 2 жыл бұрын
Really helpful tutorial man, thanks alot :)))))
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
👍🏻👍🏻👍🏻
@EyeIn_The_Sky
@EyeIn_The_Sky 2 жыл бұрын
Hey Thanks for the concise and clean tutorial. Can you tell us how you would get around the ReactDOM.render being no longer supported as of React 18? I can't find any simple instructions on how to use the "createRoot" for the new API
@bishwajeetpandey1570
@bishwajeetpandey1570 Жыл бұрын
As a beginner to parcel facing an issue please try to help me out , According to parcel documentation Parcel automatically generates sourcemaps by default , Fine, it is generating .map files in dist folder but when in i write console.log in my source code or any error thrown from my source file . These message display in the browser console but they still pointing to build files like index.abcderf.js rather than my source file index.js :disappointed:. So please tell me Is there any way so that console statment or errors maps to my source code file not to build file present in dist folder of parcel?
@acavbeats
@acavbeats Жыл бұрын
Do you know if theres a way to use alias with @ symbol in parcel so I can import components like import Card from '@/components/ui/card' ?
@reemadsouza310
@reemadsouza310 2 жыл бұрын
Hi, any idea why autoprefixer won't work? I did some flex scss and it won't show with vendor prefixes in compiled css in dist folder. Thank you.
@marekklofera2731
@marekklofera2731 Жыл бұрын
Hey, parcel only build if I save index.html. If i save index.js there is no build and no hot reload. Any idea how to fix it?
@linuxon-s3f
@linuxon-s3f 2 жыл бұрын
I'm new, sorry for the question, parcel 2 is no longer available globally?
@romimaximus
@romimaximus 2 жыл бұрын
Awesome tutorial, !!... but i have a question, everytime i need bundle my code, parcel is making copy of my files inside the "dist" folder, just like your folder "dist" in the video, .. so does parcel provides some way or some "plugin", to clean the "dist" folder before rebuild code ?
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Thanks! This might help although I haven't used it myself: github.com/RadValentin/parcel-plugin-nuke-dist
@romimaximus
@romimaximus 2 жыл бұрын
@@TheCodeCreative awesome thankx !!, but i found a solution ... i have to use a diferent way "rmdir /q /s dist && parcel build src/index.html".... but thank you very much for your halp ..!!
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
@@romimaximus 👍🏻
@abujafarsiddique7635
@abujafarsiddique7635 2 жыл бұрын
start a react next js series
@patrykK1028
@patrykK1028 Жыл бұрын
How did you get VS Code to auto-fill HTML tags? Like you typed div#root and it became the actual element
@TheCodeCreative
@TheCodeCreative Жыл бұрын
That comes from Emmet which is built into VSCode: code.visualstudio.com/docs/editor/emmet
@patrykK1028
@patrykK1028 Жыл бұрын
@@TheCodeCreative Thanks! For some reason it's not working for me, but I wouldn't even have known it's a thing without you :D edit: it actually works! It just doesn't show any hints until you actually type that div#root and hit enter
@TheCodeCreative
@TheCodeCreative Жыл бұрын
@@patrykK1028 excellent!
@fsjay
@fsjay 2 жыл бұрын
Any code examples on setting up Parcel 2 with React and React Testing Library?
@TheCodeCreative
@TheCodeCreative 2 жыл бұрын
Not yet, but hopefully soon 👍🏻
@tharuntharunyadav4802
@tharuntharunyadav4802 8 ай бұрын
Sir i have error after all code process completed it asking the expected content key please slove this for me
@bishwajeetpandey1570
@bishwajeetpandey1570 Жыл бұрын
as beginner to parcel facing an issue please try to help me out , According to documentation Parcel automatically generates sourcemaps by default , Fine, it is generating .map files in dist folder but when in i write console.log in my source code or any error thrown from my source file . These message display in the browser console but they still pointing to build files like index.abcderf.js rather than my source file index.js :disappointed:. So please tell me Is there any way so that console statment or errors maps to my source code file not to build file present in dist folder of parcel?
Alpine JS Tutorial | Build a Todo App
33:48
The Code Creative
Рет қаралды 18 М.
Parcel JS Setups Walkthrough and Review
1:28:12
Swashbuckling with Code
Рет қаралды 15 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 94 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 27 МЛН
WTF Do These Even Mean
13:44
Web Dev Simplified
Рет қаралды 94 М.
The Difference Between Vue and React
10:27
Lachlan Miller
Рет қаралды 41 М.
Astro makes websites faster & easier to build
22:55
Kevin Powell
Рет қаралды 124 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 488 М.
Master React JS in easy way
12:18
Nova Designs
Рет қаралды 124 М.
Getting Started with Parcel.js - A Web Application Bundler
17:54
James Q Quick
Рет қаралды 8 М.
7 better ways to create a React app
7:08
Fireship
Рет қаралды 561 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 94 МЛН