Comments (11)
@newyork-anthonyng I got it working with step 3, however, i feel like this is a bug with this package and attempt to fix it should be made.
from react-html-email.
@borisyordanov this should be fixed. We just ran into issue with this in IE 11 on our app. @MelkorNemesis's pull request should be merged IMHO.
from react-html-email.
Change the dependency: react-html-email by react-html-email-browser
This solves the problem when you try to compile the project
from react-html-email.
@borisyordanov The Read more here
link leads to this page.
It provides some work-arounds; I hope that helps.
from react-html-email.
This is not the only place where build .. failes owing to syntax. There are multiple places at which it fails..
@MelkorNemesis you should incorporate that too in your PR
from react-html-email.
is the fix pushed to npm ? i still got the problem on builds.
from react-html-email.
Same here. Specifically:
SyntaxError: Unexpected token punc «(», expected punc «:» [./~/react-html-email/lib/PropTypes.js:26,0]
from react-html-email.
Still seeing this issue as well. Is there a timeline on fixing this?
from react-html-email.
Hey since this issue has not not been fixed here i finished by using a fork of this library but fixed :
https://www.npmjs.com/package/react-html-email-browsers
from react-html-email.
@Meshredded I tried installing and using your package and received the following error while running my project in development.
Module not found: Can't resolve 'react-dom/lib/DOMProperty' in '.../node_modules/react-html-email-browsers/lib'
.
I am going to stick to including the original package in my src folder. I am going to stick to that until I find the time to fix this.
from react-html-email.
Update: With Create-React-App 2 this should no longer be a problem since it gets compiled. I yarn added this package and moved all my references to it instead of my "in src" version.
from react-html-email.
Related Issues (20)
- Row & Column components HOT 3
- Warnings log even though warn is set to false HOT 3
- Your kitchenSink.jsx doesn't work, should it? HOT 1
- unsupported props warning even when downgrading to 1.2.0 HOT 2
- Webpack build error HOT 2
- Can't build with webpack 3.10 HOT 2
- is there a full example HOT 2
- Can I use it for server-side-rendering? HOT 1
- Using a number for width and height doesn't give us responsive images
- Are there tests validating cross-client compatibility? HOT 1
- Setting multiple <style> blocks
- Test with enzyme: mount
- Span component does not inherit className prop HOT 1
- [BUG] Default example kitchenSink.jsx does not display well in default Galaxy S6 email client. HOT 2
- [SOLVED] Layout issue - <Box> won't center HOT 1
- Email shows all the html tags and etc HOT 1
- TypeError: Cannot read property 'getCurrentStack' of undefined HOT 1
- Where do static files end up?
- Can I use react-bootstrap with this package?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-html-email.