Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the spread operator #111

Open
jknight12882 opened this issue Jun 29, 2016 · 3 comments · May be fixed by #121
Open

Support the spread operator #111

jknight12882 opened this issue Jun 29, 2016 · 3 comments · May be fixed by #121

Comments

@jknight12882
Copy link

jknight12882 commented Jun 29, 2016

This is particularly important for Redux projects which widely promotes the pattern.

Looks like there is a new acorn plugin which adds support https://github.com/UXtemple/acorn-object-spread

@jknight12882
Copy link
Author

Any movement on this?

@tvilon tvilon linked a pull request Oct 20, 2017 that will close this issue
@tvilon
Copy link

tvilon commented Oct 21, 2017

I opened a PR to fix this

@tvilon
Copy link

tvilon commented Oct 21, 2017

But I think it's probably better to use babel first to compile and then jsxtext on top. In my case with a create-react-app boilerplate and yarn

yarn run jsxgettext -k '__' -o  ../locales/elevo_front.pot <(NODE_ENV='production' yarn run -s babel src/ --presets=react-app)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants