Posts by Matheus Ribeiro • 29 points
3 posts
-
0
votes0
answers75
viewsQ: How to initialize persistence.xml at the beginning of the program?
I’m making a insert within a Postgresql database, however, as I have to test what connection to the database I will make, I end up having to configure the access based on each environment. The…
-
1
votes0
answers224
viewsQ: React: Uncaught (in Promise) Typeerror: Dispatch is not a Function
Hello, For some reason I make a call and I get the desired return, but it gives an error of Dispatch, I’ve tried several things and nothing works. My action: export const formulariosExternos =…
-
1
votes0
answers35
viewsQ: How to manage the state of a variable without calling the API
With the reducer: import { HIDE_MENU, ESTADO_MENU } from '../actions/types'; const initialState = { open: true } export default function (state = initialState, action) { switch (action.type) { case…