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

Add a synchronous API #185

Closed
gregberge opened this issue Sep 26, 2018 · 0 comments
Closed

Add a synchronous API #185

gregberge opened this issue Sep 26, 2018 · 0 comments

Comments

@gregberge
Copy link
Owner

As discussed in software-mansion/react-native-svg#753 (comment), #106, #157, synchronous mode is a real thing.

It seems that SVGO is in reality synchronous, we could use the underlying API _optimizeOnce to create a synchronous mode for SVGR. At time, we plan to create an alternative to SVGO, so let's do synchronous mode first!

Technical detail

Add a new method convertSync in core package.

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

No branches or pull requests

1 participant