Skip to content

[COMP]: Components import from nonexistent barrel files #450

@andrewrubin

Description

@andrewrubin

Description

Almost all components have these sorts of lines:

import { fixedForwardRef, buildBreakpointClassnames, classnames } from "@local/utilities"
//or
import { Flex } from "@local/components"

But there are no files in our projects that export components, utilities, and hooks, in this way. Since we're moving away from barrel files, and since we're the primary users of this library, we should fix this.

Proposed solution:

Change these to individual imports on all components, removing the need for nonexistent barrel files

Metadata

Metadata

Labels

COMPTickets related to wethegit-componentsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions