All Questions
13
questions
1
vote
0
answers
33
views
Why does swagger in tab 1 crash when selecting a file upload in another tab that is a react app?
So I created a simple file upload for my website to test some things. I have a asp.net core web api. When starting the server it opens a swagger tab. And when I start my react app it opens another tab....
0
votes
1
answer
349
views
Facebook JavaScript SDK - Login not working in Brave browser
I am trying to implement Facebook JS SDK in my React application (created using create-react-app) but unfortunately the login is not working in Brave browser. The login window opens up fine however I ...
0
votes
1
answer
1k
views
Next.js app works on Safari, Chrome and Firefox but give hydration error on Brave Browser
I have a simple Next.js app. I am not using any server side options. It works well on Safari, Chrome, Firefox and it s already running on Vercel without any issue.
Today i tried it with Brave browser (...
1
vote
1
answer
1k
views
API failing on brave browser but working in chrome and microsoft Edge
In the beginning luckyOrange is sending some request to the API: https://settings.luckyorange.net to fetch some content.
The actual Request URL for this API, which is being shown in other browsers ...
1
vote
0
answers
837
views
Does Brave browser get supported in "browserslist" in package.json for a React app?
The code in question for my React app in my package.json is as such:
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ...
1
vote
1
answer
365
views
React.js: SVG is not being displayed properly in Chrome/Brave/Edge
How I import .svg files:
import khinkali from "./imgs/khinkali.svg";
import fritters from "./imgs/fritters.svg";
import kebab from "./imgs/kebab.svg";
import pancakes ...
0
votes
0
answers
734
views
debugging react project on Brave on Mac giving Unable to launch browser: error
launch.json is as follows:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
...
1
vote
1
answer
2k
views
React.js web app not opening in Brave or Safari - globalThis
I got a React environment and the app works when in Chrome but not in Safari or Brave.
The console error Brave gives is this:
Uncaught ReferenceError: globalThis is not defined
at Object.<...
0
votes
2
answers
1k
views
What is the best way to connect React js app with node js server?
I have built and tested my ReactJS app and NodeJS server. React app has a sign-in form whose data I want to send to the server and get web tokens from there.
I am using Axios to send it by the ...
1
vote
1
answer
370
views
How to get webpack-dev-server to open Brave on mac
How can I get webpack to open the Brave browser when I run webpack-dev-server on a Mac?
For example this is how i run webpack and open a google chrome browser:
webpack-dev-server --env.mode=...
2
votes
0
answers
646
views
canvas.toDataURL blocked by Brave Shield cross site device-recognition
I am currently working on a webapp which will be used to upload files after a resize. When I am working on localhost:3000, the resize process works like a charm, but when I am working on 192.168.0.5:...
0
votes
1
answer
1k
views
Embed reactjs app with access to localstorage
I have a Reactjs app that uses localstorage, I would like users to be able to embed my website.
I would like to access the localstorage for my website when it is embedded, but I get the following ...
0
votes
1
answer
2k
views
How to access electron.app.getPath()?
Hi I'm making a custom component under js/about. How can I make getPath() available inside my component? Brave components seem to have access to it(via const {app} = require('electron')) without ...