waypoint icon indicating copy to clipboard operation
waypoint copied to clipboard

Fails to index default unnamed export

Open jacobparis opened this issue 5 years ago • 2 comments

While indexing, any files that have a straight default export will fail to index

/Users/userName/Projects/projectName/app/scenes/sceneName.js
TypeError: Cannot read property 'name' of null
export default function () { … }

Naming the export fixes it

export default function Scene() { … }

jacobparis avatar Mar 21 '20 04:03 jacobparis

Thanks for reporting. This is the known issues list. Will get to it soon.

I'm curious, how are you finding the tool? I'm curious to know what people find the most useful and what you think could improve?

Raathigesh avatar Mar 21 '20 04:03 Raathigesh

I've only spent a few minutes with it so far, definitely fond of the concept but I'll have to dedicate more time to see if I like the workflow before I can speak to that

First impressions are basically around appearance and usability:

If the stage used my VS Code theme (with any necessary extra properties that it can't grab from the existing set) it'd be a lot more pleasant to play around with

Dream interaction would be like Figma where I can scroll around in any direction without having to click and drag to pan

Also a zoom out to overview so I can then zoom in on the target symbol that might be too far to comfortably pan back and forth at 100% scale

jacobparis avatar Mar 21 '20 04:03 jacobparis