Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lucasbailo/use-reducer-tailwind

Training use reducer and tailwind
https://github.com/lucasbailo/use-reducer-tailwind

Last synced: about 1 month ago
JSON representation

Training use reducer and tailwind

Awesome Lists containing this project

README

        

## Welcome again to another React project! 👋

# Learning Use Reducer + Tailwind - React Project

### Home
- Home page where you can create your list of random things.

![](./public/homepage.png)

## Some code that I'm proud of
```js
const [phrase, setPhrase]= useState('')

const [phrases, dispatch]= useReducer(reducer, [])

function savePhrase (event) {
event.preventDefault()

dispatch({
type: ADD_PHRASE,
phrase: phrase
})
}

function deletePhrase (deletedPhrase) {
dispatch({
type: REMOVE_PHRASE,
phrase: deletedPhrase
})
}
```

## Built with

- REACT;
- Tailwind.

## Test the project yourself: [Teste the project here!!!](https://use-reducer-tailwind.vercel.app/)

## Author

- Website - [My GitHub](https://github.com/lucasbailo)
- Frontend Mentor - [@lucasbailo](https://www.frontendmentor.io/profile/lucasbailo)
- Instagram - [@lucassbailo](https://www.instagram.com/lucassbailo/)
- LinkedIn - [Lucas Bailo](https://www.linkedin.com/in/lcsbailo)