Комментарии:
This approach only works for reading the API on client localhost. On the sever, there is a 403 error which is related to CORS rules.
Ответитьdid you post the WordPress develeopment tutorial for this?
ОтветитьI need to add import { Redirect } from "@reach/router"; at the login.js in order for Redirect to work. But it is not mentioned in your tutorial...am I missing something?
ОтветитьBrilliant. Can this exact process be used in production for login on a Next.js + headless Wordpress membership site?
ОтветитьTHanks so much for sharing, this is great information to get a huge head start on learning how this all works.
Ответитьi want to create react native app with wordpress login i follow yours code but not working.
react native 0.61.5 <form> and <button> not working.
please help me how to solve this
Another great tutorial! How would I create an error message if login credentials are wrong? I understand we've created an error, but maybe it's not working for me. It gives me an error of: (Uncaught (in promise) TypeError: Cannot read property 'data' of undefined
at eval) and the loader is still set to true for some reason, even though it should be set to False when undefined === res.data.token. Thanks in advance
Hi Imran, is there any chance of a tutorial on how to send contact forms with React and WP.... This tutorial series is what taught me react even after buying tutorials on Udemy!!
Keep up the good work!!
Brother, please help me. I made a React App using WP REST API. Now I want to add numeric pagination in posts page of my react app. I tried many times, but I don't find any solution.
ОтветитьBro can you also teach how to use the contact form and send email through it? or by using any plugin in?
ОтветитьHello Imran sir , how can I authenticate using email and password? Instead of username .
ОтветитьThank you. its very helpful 😊😍 but you stopped that in most important and useful part of tutorial 😐🤕
ОтветитьHello! Are those credentials the user's WP account? and what profile roles are authorized through JWT?
Ответитьlovely bro, i was crazy about auth my react app with my wp database, thanks!
a question, can u fetch other info from the wp rest api, like profile-photo url?