Skip to content

react: clean up codebase #271

Open
Open
@michael-siek

Description

@michael-siek

It looks like everything is in a single file we should separate them out into directory structures similar to the other packages in the repo. I think this should help with development for others moving forwards.

.
├── src
│   └── lib
├── test
├── cypress
└── README.md

Also the reactAxe() function should take destructures args instead (this would be a breaking change)

interface ReactAxeParams {
	React: typeof React
	ReactDOM: typeof ReactDOM
	timeout: number
	conf: ReactSpec
	context?: ElementContext
}

const reactAxe = async ({
	React,
	ReactDOM,
	timeout,
	conf = {},
	context
}: ReactAxeParams) : Promise<void> { }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions