LocatorJS Support - SWC Plugin #64591
Replies: 5 comments
-
Would heavily +1 this proposal! Next.js + Locator would be amazing - I really don't like that I have to give up |
Beta Was this translation helpful? Give feedback.
-
LocatorJS worked for me on NextJS for months, until the last version of React Developer tools extension came (version 5.3.1). |
Beta Was this translation helpful? Give feedback.
-
LocatorJS is super helpful. Would really love for this to keep working. |
Beta Was this translation helpful? Give feedback.
-
:) sadly going back to next 13 work for me, worth it |
Beta Was this translation helpful? Give feedback.
-
What's the status of this discussion ? |
Beta Was this translation helpful? Give feedback.
-
Goals
Background
I recently came across the locatorjs project, and I really dig it. Quick and easy way to go directly to the component you're trying to edit. Unfortunately, I'm pretty new to next, and as such on the latest version, and this plugin doesn't work with the latest version of next (see linked discussion below).
I've spent the last week or so (fruitlessly) trying to create an SWC plugin so that it can be used with the newest version of next. The author of the project has also tried here and has an open issue here but has also been unsuccessful. I think the linked plugin is actually pretty close to all that is needed (adding some metadata to files) - but might need someone more experienced to push it over the finish line.
Proposal
It looks like the next team has some experience migrating babel to swc components, and I really think it would be awesome to add locatorjs to the list of supported components.
I'd be happy to share the code I have, it's fairly close to the original authors stuff linked above.
Beta Was this translation helpful? Give feedback.
All reactions