0xsaksham,

Day 22 of
React:
🌐 Importance of Keys in React
🌐 Added final touch to the Tic-Tac-Toe game, still figuring out deployment.

If anyone knows how to deploy react code, PLEASE HELP!!

@rust :

🦀Cargo - The Package manager of Rust.
🦀Cargo.toml --> Config files for Rust like JSON.
🦀Cargo run, cargo build, and cargo check commands and uses.
🦀Started making a guessing game in Rust as a hands-on Project.

Follow for a Crab 🦀 --> @0xsaksham

80avin,

What have you tried searching till now ?

There are many options like GitHub pages, Vercel, Netlify, etc. which can be free.

Other like AWS, firebase, etc which can be costly.

0xsaksham,

@80avin I know about netlify and stuff bro, but can't figure out how to launch on netlify a React website.

I have hosted websites, check it out here--> https://github.com/0xSaksham

jvisick,

docs.netlify.com/configure-builds/overview/?

You just need to configure your build command and most likely your publish directory. Netlify honestly makes it really easy.

The build command is whatever you’d type in your terminal to compile your react app, and the publish directory is wherever your build command creates your static assets.

0xsaksham,

@jvisick I'll try thanks 🙏

chovekoid,

@jvisick @0xsaksham

The command you need is:

$ npm uninstall react

😂

0xsaksham,

@chovekoid @jvisick bruh 😂

chovekoid,

@0xsaksham @jvisick

unironically 😂

chovekoid,

@0xsaksham @jvisick

then also uninstall typescript and you're good to go 😉

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust@programming.dev
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • GTA5RPClips
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • megavids
  • everett
  • ethstaker
  • modclub
  • normalnudes
  • anitta
  • cisconetworking
  • ngwrru68w68
  • tacticalgear
  • Leos
  • provamag3
  • tester
  • JUstTest
  • lostlight
  • All magazines