sergioramos / dangerously-set-inner-html Goto Github PK
View Code? Open in Web Editor NEWdangerouslySetInnerHTML that evaluates script tags
License: MIT License
dangerouslySetInnerHTML that evaluates script tags
License: MIT License
Warning: A Component: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.
Hello @ramitos!, I've been seeing the extension and it's looks pretty good, but I have a problem.
I have a script tag with a src attribute that load a video player from an external JS file. It would be great if the extension could be load this.
Thanks so much!
I'm not sure if it was the line "react": "*" in the package.json or what, but running npm install on this package resulted in adding 282 packages, removing 382 packages, and updating 1346 packages, and completely destroyed my Create-React-App setup:
+ [email protected] added 282 packages from 333 contributors, removed 382 packages and updated 1346 packages in 86.233s
So heads up for anyone thinking of installing this package
Only handles the
<script src=""></script>
tags.
I have inline script with
<script type="text/javascript">Js code </script>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.