Skip to content

Use classes in React code #5

@gigabite-pro

Description

@gigabite-pro

I was trying to work with the component and since it doesn't provide me a lot of control over the underlying elements, I'm trying to access the elements from the DOM and then manipulate them. One issue that I faced was that there is no class/id or any unique-identifier in any of the elements. When I tried to access the events, I had to do something like this:
const calendarEvents = calendarRef.current.children[0].children[1].children[0].children[0].children[1].children[1].children[0].children;

Please put classNames and ids for each component so that it can be manipulated from the DOM.

Great library btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions