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
8 Comments
80avin@programming.dev · 3 pts · 2y
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
@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
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
@jvisick @0xsaksham
The command you need is:
$ npm uninstall react
๐
0xsaksham@mastodon.social · 1 pts · 2y
@chovekoid @jvisick bruh ๐
chovekoid@mastodon.social · 1 pts · 2y
@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 ๐