question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to latest SVGR

See original GitHub issue

This package is a few versions behind SVGR. None of the links work any longer (e.g. options should point to legacy docs, but they link to 404). SVGR itself has had several updates that are relevant to this project. For one thing, there’s a new memo option, which does exactly what you’d imagine. There’s also a fix for react-native when icon is specified, since 1em doesn’t mean anything on react-native. There’s probably a ton more bug fixes and improvements, and it should be pretty easy to update.

This is a pretty old package and it hasn’t been updated in a long time. There’s an open PR that has been ignored for a few months, and none of the dependencies have been updated, even though there have been relevant issues opened. So I’m wondering what the status of this project actually is? This project is linked by react-native-svg and so is a pretty important solution for those who want import SVG-as-component functionality.

Is there an appetite for any further development?

Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kristerkaricommented, Dec 28, 2021

Done and released.

Now I can start preparing the 1.0 version that will drop support for the really old React Native versions.

0reactions
bfrickacommented, Dec 29, 2021

Thanks @kristerkari

Read more comments on GitHub >

github_iconTop Results From Across the Web

@svgr/webpack - npm
SVGR webpack loader.. Latest version: 6.5.1, last published: 2 months ago. Start using @svgr/webpack in your project by running `npm i ...
Read more >
Webpack - SVGR
Webpack. SVGR provides an official webpack.js loader to import SVG as React components. Install.
Read more >
gregberge/svgr: Transform SVGs into React components
Name already in use · Latest commit · Git stats · Files · README.md ...
Read more >
@svgr/webpack | Yarn - Package Manager
allow to spread props at the start (#166 (cd659dc); upgrade: h2x@1.1.0 (jsdom@12.0.0) & others (2d9b7bd); new option "svgProps" (#172 (9657110) ...
Read more >
@svgr/webpack - npm Package Health Analysis | Snyk
Learn more about @svgr/webpack: package health score, popularity, security, ... SVGR webpack loader. ... Last updated on 20 December-2022, at 01:49 (UTC).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found