Posts by Jason Beestart • 1 point
5 posts
-
0
votes1
answer41
viewsA: React Activate Swiper does not change activeDot
I solved the problem as follows <Swiper key={this.state.arrayFavorites.length} showsButtons={false} style={styles.favoritesList}> { render } </Swiper>…
-
0
votes1
answer41
viewsQ: React Activate Swiper does not change activeDot
Good afternoon, I am creating a list with Swiper but after rendering it does not change the activeDot var obj = -1 const render = _.map(this.state.arrayFavorites, (itens) => { obj++ return…
-
0
votes1
answer80
viewsQ: Using Provider in the Reactjs Context
I’m trying to use the Reactjs Context but I can’t get the Provider to assign the value to the context variable. whenever I check the empty variable. Context: import React from 'react' const…
-
0
votes2
answers2574
viewsA: error in post request using server-side buttons
I solved my problem this way: const fetch = require("node-fetch"); fetch("https://apisandbox.braspag.com.br/v2/sales/", { method: "POST", headers: { Accept: "application/json", "Content-Type":…
-
0
votes2
answers2574
viewsQ: error in post request using server-side buttons
Good afternoon, I am creating a function in an api that will make a request via post, I did using fetch on the page with reactjs and now I have to migrate to the api but when making the request it…