You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue while attempting to update the plugin from version 2.4.0 to 4.2.0. The problem specifically arises when trying to get a code snippet to work in 4.2.0.
Problem
I have a project with a directory system that dynamically imports SVGs using relative paths. Despite various attempts, I am unable to make my code work with 4.2.0. The code structure is extremely similar to the provided example here, where the useDynamicSvgImport hook is used to dynamically load SVGs.
Reproduction Steps
Load the provided example.
Change the plugin version from 2.4.0 to 4.2.0.
Observe that the example fails to load the SVG.
Questions
Has the way of doing things changed in 4.2.0?
If yes, what is the recommended approach to achieve dynamic SVG loading in the updated version?
Any guidance or assistance on resolving this issue would be highly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered:
Description
Hello,
I am facing an issue while attempting to update the plugin from version 2.4.0 to 4.2.0. The problem specifically arises when trying to get a code snippet to work in 4.2.0.
Problem
I have a project with a directory system that dynamically imports SVGs using relative paths. Despite various attempts, I am unable to make my code work with 4.2.0. The code structure is extremely similar to the provided example here, where the
useDynamicSvgImport
hook is used to dynamically load SVGs.Reproduction Steps
Questions
Any guidance or assistance on resolving this issue would be highly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: