An open API service indexing awesome lists of open source software.

https://github.com/abongsjoel/react-plus-typescript

A simple application built while extending my knowledge on Typescript with React. I build a simple pizza ordering process.
https://github.com/abongsjoel/react-plus-typescript

react reactjs typescript webpack

Last synced: 3 months ago
JSON representation

A simple application built while extending my knowledge on Typescript with React. I build a simple pizza ordering process.

Awesome Lists containing this project

README

          

# Delicious Pizza (React Plus Typescript)

> A simple application built while extending my knowledge on Typescript with React. It implements a simple pizza ordering process.

![screenshot](../dev/screenshot.png)

The project starts by setting up webpack to work with Typescript and then adding react and react-dom to the mix.
Typescript is setup using either ts-loader or babel-loader.

Then, I setup css in webpack and then configure CSS Modules.

Next, I set up a webpack loader for SVG files and describe .svg imports to Typescript

Then, I proceeded in creating functional as well as class based components coupled with looking at handling events using react.

Next, i added React context and the useState hook and then went further to replace setState with useReducer

I proceeded by making use of localstorage to store some data and then call it in the useEffect hook.

Next, i created a Higher Order Component (HOC) for sharing the state, and then a Render Props component as well as a Custom Hook.

I also made use of the React Ref API to handle DOM events using the original DOM API.

## Built With

- Typescript
- React
- Redux

## Running the Application

To run this application locally, after clonning it, run

```
npm i
```

```
npm run start
```

## Author

👤 **Chi A. Joel**

- GitHub: [@abongsjoel](https://github.com/abongsjoel)
- Twitter: [@thierryjoel10](https://twitter.com/ThierryJoel10)
- LinkedIn: [Chi Abongwa Joel](https://www.linkedin.com/in/chi-abongwa-joel-b4285a97/)

## Acknowledgments

- [Dmytro Danylov](https://www.udemy.com/course/react-with-typescript/)

## Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/abongsjoel/react-plus-typescript/issues).

## Show your support

Give a ⭐️ if you like this project!

## License

This project is MIT licensed.