Day 22 of #100daysofcode
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

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 3 years ago (1 child)

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.

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 3 years ago (1 child)

    @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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago* (2 children)

    https://docs.netlify.com/configure-builds/overview/?#basic-build-settings

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 3 years ago (1 child)

    @jvisick @0xsaksham

    The command you need is:

    $ npm uninstall react

    πŸ˜‚

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 years ago (1 child)