vuera icon indicating copy to clipboard operation
vuera copied to clipboard

Interop with React Router (react-router-dom) and 3rd party libraries

Open Mobiletainment opened this issue 3 years ago • 1 comments

Thank you for this library.

I would like to elaborate a use case: we have a React component library with some powerful components that rely on further dependencies, e.g.:

// Navigation.tsx

import React, { FC, useEffect, useRef, useState } from 'react';
import styled from 'styled-components';
import { Link, useLocation } from 'react-router-dom';
import AntdDropdown from 'antd/es/dropdown';
import 'antd/dist/antd.less';
....

Note that there are dependencies to React router, styled-components (which I figure should be fixed by now) and antd. Would it be possible to use such component with Vuera as-is? Or will this require further steps to integrate it properly and make it work?

Sorry for elaborating this here instead of simply trying it out, but my intention behind this issue is to gather some feedback and experiences here from you on a broader scale.

Thank you very much.

Mobiletainment avatar Mar 09 '21 21:03 Mobiletainment

I'm assuming you've already gone ahead and tried it lol, but I can at least confirm that using the react router works :)

stringbeans avatar Mar 14 '22 04:03 stringbeans