Skip to content

Commit

Permalink
Replace create react app doc link with vite and add emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Heather Faerber committed Feb 14, 2025
1 parent 7a793c1 commit d9de549
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion module3/lessons/react_ideabox.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ React has its own set of developer tools that are extremely helpful. [Install th

## Creating a new React app with Vite

For this lesson, we will be using [Vite](https://vite.dev/guide/) to spin up a React application. [`create-react-app`](https://facebook.github.io/create-react-app/) used to be a good option but is no longer maintained.
For this lesson, we will be using [Vite](https://vite.dev/guide/) to spin up a React application.
[`create-react-app`](https://facebook.github.io/create-react-app/) used to be a good option but is no longer maintained.

Many of the dependencies and configuration files will be obscured, since we won't need to worry about them. This is a fast way to set up a React application so we can concentrate on building out the app, instead of spending our time and energy on tooling.

Expand Down
2 changes: 1 addition & 1 deletion module4/intermission_work/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Because API keys and database connections can contain sesitive data, you don’t

The way you create environment variables can change depending on the framework you're using. For example:

* **React**: You will need to create a .env file in the root of your project. Instructions [here](https://create-react-app.dev/docs/adding-custom-environment-variables/)
* **React**: You will need to create a .env file in the root of your project. The [Vite docs](https://vite.dev/guide/env-and-mode#env-variables) might be helpful.
* **Rails**: We've seen sensitive variables (like API keys) be stored in encrypted credential files. There are also configuration files and initializers available for other variables. Instructions [here](https://guides.rubyonrails.org/v5.1/configuring.html)

</section>
Expand Down
2 changes: 1 addition & 1 deletion module4/lessons/intro-to-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ Open up this [Trivia Repo](https://github.com/turingschool-examples/trivia-types

If you're creating a TS React app from scratch, [this Vite doc page](https://vite.dev/guide/#scaffolding-your-first-vite-project) for starting up a TS React App using Vite will be very useful. It's more difficult to add in TS after the fact than to start fresh with TS from the start, but it can be done, of course.

[Create React App](https://create-react-app.dev/) used to be a common way to build a new create app but has since been deprecated. Vite is the modern preferred option.
[Create React App](https://create-react-app.dev/) used to be a common way to build a new create app but has since been deprecated. Vite is the modern preferred option.
</section>

## Conclusion
Expand Down

0 comments on commit d9de549

Please sign in to comment.