Skip to content

Commit

Permalink
2024 before class changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Nov 12, 2024
1 parent 78286c9 commit c660ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Context = createContext<LogContext | null>(null)

## Definiendo nuestro propio Provider

Tendremos tres acciones: subir un valor, bajar un valor (ambas generan un nuevo log) y eliminar un log. Nuestro componente provider es simplemente un componente react, encargado de mantener y manejar el estado de nuestra app. Va a tener estado:
Tendremos tres acciones: subir un valor, bajar un valor (ambas generan un nuevo log) y eliminar un log. Nuestro componente provider es simplemente un componente react, encargado de mantener y actualizar el estado de la app:

- el valor actual
- los logs
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
coverage: {
exclude: [ './src/main.tsx', '**/*.cjs', '**/*.d.ts', 'vite.config.ts' ],
reporter: ['lcov', 'json', 'html', 'json-summary'],
},
}
Expand Down

0 comments on commit c660ad0

Please sign in to comment.