0

I am creating Wordpress plugin. I am required to use React with it. How can I use it? I have already tried to use React JS library using a script tag but it did not work for.

Kas Elvirov
  • 7,394
  • 4
  • 40
  • 62
kurious
  • 59
  • 8
  • You got an answer already mentioning Frontity, but I've also been writing a Wordpress plugin in React lately, and I felt like Frontity was for developing the whole site and not just a plugin. I went another way: Using docker to running wordpress locally while developing, and building to a folder which is connected to the plugin folder in the wordpress container. You can check out my project here: https://github.com/WestCoastJitterbugsOrg/Personalized-Calendar/tree/main/client Read the README, docker-compose.yml and webpack.wordpress-config.ts – ShamPooSham Jan 07 '22 at 22:31

1 Answers1

0

You can use Frontity or read this article

farhangQ
  • 21
  • 1
  • 6
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Vimal Patel Dec 28 '21 at 16:15