Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
how to add external jsx file in react js without using node js

I am trying to create a react app without node js so i downloaded these files (babel.min.js, react-dom.production.min.js, react.production.min.js) from their official source. when i use a script tag with type to text/babel to write react code it works fine. but when i am trying include external jsx file
<script src="./index.jsx" type="text/babel"></script>

it shows cross origin error
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///home/yash_lodhi/workshop/react/index.jsx. (Reason: CORS request not http).

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!