Day 22 of [#100daysofcode](https://mastodon.social/tags/100daysofcode)

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

7 points · 8 comments · view on lemmy.world

8 Comments

80avin@programming.dev · 3 pts · 2y (7 replies)

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@mastodon.social · 1 pts · 2y (6 replies)

@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@programming.dev · 1 pts · 2y (5 replies)

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.

chovekoid@mastodon.social · 1 pts · 2y (3 replies)

@jvisick @0xsaksham

The command you need is:

$ npm uninstall react

๐Ÿ˜‚

0xsaksham@mastodon.social · 1 pts · 2y (2 replies)

@chovekoid @jvisick bruh ๐Ÿ˜‚

chovekoid@mastodon.social · 1 pts · 2y (1 reply)

@0xsaksham @jvisick

unironically ๐Ÿ˜‚

chovekoid@mastodon.social · 1 pts · 2y

@0xsaksham @jvisick

then also uninstall typescript and you're good to go ๐Ÿ˜‰

0xsaksham@mastodon.social · 1 pts · 2y

@jvisick I'll try thanks ๐Ÿ™