Support for Web
See original GitHub issueI get bug reports from people using this library and trying to run their apps on the web using React Native for Web.
Web support could be added by exporting the SVG components from React DOM or wrapping them in React Native for Web’s createElement
. And compiling the package before publishing to npm. It may be complicated by the decision to deviate from the SVG standard and add things like setNativeProps
to the native components.
Here’s an example of how much massaging needs to be done to convert this library’s API to the SVG standard on web https://github.com/godaddy/svgs/blob/master/index.js
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:34
Top Results From Across the Web
Support and Login for DIY Websites, Hosting and Domains ...
If you're having trouble logging in, please contact customer support at 1-800-311-2707. Sign-In. Current Member Sign In. You can find your User Name...
Read more >9 Types of Website Support and Maintenance Services
9 Types of Website Support and Maintenance Services · 1. Updating Website Software · 2. Improving Website Speed · 3. Fixing HTML Errors...
Read more >Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >Effective Website Help Systems: Tips and Examples - WebFX
A site's help system is a useful tool for existing users and newcomers. Read our tips, best practices, and examples to help system...
Read more >What is the web support portal and how do I set it up?
The web support portal consists of your FAQs and a contact form that feeds issues straight into your Helpshift dashboard. Your web support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm, is https://github.com/godaddy/svgs insufficient?
I’ve forked svgs to support react-native-web and published it under the name swgs to see how much interest there is for this https://www.npmjs.com/package/swgs Essentially the only difference so far is to use
import { createElement } from 'react-native-web';
instead ofimport React from 'react';
https://github.com/msand/swgs/commit/d5ac0a4e93e6bad3b8ed190c6833adf58361fcfc#diff-168726dbe96b3ce427e7fedce31bb0bcR1 @necolas Are there any more changes needed on the native side or in swgs at this point?