Questions tagged [react]
The react tag has no usage guidance.
24
questions
0
votes
0answers
14 views
How to use React.js on front end with magento 2.4
Hello guys I'm completely new to Magento and the only thing i want to ask is how can use React.js on the frontend of a magento webshop?
1
vote
0answers
11 views
Magento 2.3 ZoomMeeting with web SDK
I am integrating zoom meeting into magento 2.3.
I have added following code in requirejs-config.js to import/include the 3rd party js files :
var config = {
map: {
'*': {
react: 'https://...
0
votes
1answer
25 views
Magento or Headless Magento (React with Magento pwa or Magento 2 default is better) [closed]
I am new in Magento and I am preparing to start learning the cms. I'd like to know which has lower learning curve, just Magento or React+Magento. (I already know reactjs)
0
votes
0answers
8 views
Magento 2.4 and PWA How We can deploy with two different URL as admin panel and front-end
I try to many ways to setup Magneto 2 Backend side and frontend side with different domains. But not a success. I using LEMP stack and PWA as React frontend.. If someone setup with two different ...
1
vote
0answers
20 views
PWA project setup
I've just started using magento lately and I'm facing an issue initializing the project.
The documentation is listing two ways to do that:
Clone the pwa-studio project from github
Use the yarn ...
1
vote
1answer
181 views
Magento PWA Studio: Where's my React At?
How do I edit and add to components in a PWA Studio React application?
Using the buildpack tool, I've installed the PWA scaffolding with the following command.
buildpack create-project /tmp/zing \
...
-1
votes
1answer
33 views
Magento 2.3.5 PWA implement tab component
I am interested to learn more about how to implement the Tabs found here: https://magento.github.io/pwa-studio/pagebuilder/components/tabs/
One can use react bootstrap tab ref: https://react-bootstrap....
0
votes
1answer
131 views
How to change Payment Methods on PWA Suite?
I have installed the PWA suite on my local machine.
I have enabled COD and Check / Money order Payment methods. But Why these methods are not showing on the checkout page. Pay with Card only ...
0
votes
0answers
15 views
react - server side rendering in magento pwa
Is there a workaround to adding react as a templating engine?
In my server.js file, I have the following code:
const { createUpwardServer } = require('@magento/upward-js');
createUpwardServer({
...
1
vote
0answers
49 views
PWA get media backend url
Is there a readily available way to get Media url path from component ?
I know there is a getMediaUrl fetching from graphql in venia-concept/webpack.config.js
Tried in my component: global....
0
votes
1answer
29 views
Magento 2 PWA Update <title> in custom component
How to update the title tag in the Head ?
Really don't want to mess around with the DOM updating with javascript!
1
vote
1answer
171 views
Magento 2 PWA custom router
How to Create custom router page content?
What I've tried added Route to routes.js:
import React, { Suspense } from 'react';
import { Route, Switch, useLocation } from 'react-router-dom';
import { ...
0
votes
2answers
563 views
How can i filter custom atributes in graphql?
I am building an e-commerce app to sell products. There is a section in my website with products on sale and I want to show in this section just the products that are on sale. But in the backend of my ...
0
votes
1answer
557 views
Want to call magento2 rest api from react js
I am creating 1 application in react and have a requirement to call magento api from react js
My magento application is hosted on http://localserver.com and react is with http://localhost:3000/
...
2
votes
2answers
189 views
Magento2 - Magento Headless
Like PWA everyone has started to use the word "Headless Magento" but I didn't find anyone to explain it in that detail.
Till now, I only managed to understand that it prefers to use react than ...
1
vote
0answers
216 views
react-select-search - Uncaught TypeError: this.state.value.slice is not a function
I am working on a ReactJS web app and using "react-select-search" package for search & select feature for countries' ISD codes.
GitHub link to package used
I've cross checked the values from ...
1
vote
1answer
181 views
React with Magento 2
I have to use ReactJS as a frontend for Magento 2. Below is one of the github repo I looked after to integrate but it seems it's not that efficient, even not working in my case.
Check GitHub Repo
I'...
1
vote
0answers
14 views
How to integrate ReactJS with Magento 2 frontend [closed]
For example
I have to build a contact form in header.
I want to create a module and then call that module in header
4
votes
1answer
316 views
Magento 2 : How to create simple example of React JS Module?
How to create simple example of React JS Module?
1
vote
0answers
444 views
Hide Authorization Token from Request Headers in browser for headless magento 2
We are using reactJS as frontend for magento 2 website using magento 2 rest APIs. But the authorization token is visible in the browser dev tools posing security risk.
Kindly suggest a way to hide ...
6
votes
1answer
533 views
1
vote
0answers
304 views
Custom rest API for magento 2 contact form with react venia storefront
I'm currently setting up a contact form in venia storefront and trying to get it to link to my rest api in magento 2.
On button click the forms linking to the actions file and then throwing a not ...
1
vote
0answers
344 views
React Router Breadcrumbs use page titles instead of url dynamically
I've got a magento 2.3.1 site with venia storefront a react front end and I'm trying to get the breadcrumbs to pull the page titles dynamically rather than pulling the url.
My current code for the ...
1
vote
1answer
364 views
How to use magento 2 rest api in react js
I am learning react js with magento. I want to use magento rest api in my react js app how can i do that ?