xterm js with react #4895
Answered
by
x1unix
sagoresarker
asked this question in
Q&A
xterm js with react
#4895
-
Hello, this is the first time I'm working with xterm.js in React. I tried to install 'xterm-for-react' from the npm library, but it threw so many errors. |
Beta Was this translation helpful? Give feedback.
Answered by
x1unix
Jan 16, 2024
Replies: 2 comments 1 reply
-
Instantiating and destroying xtermjs in useEffect. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sagoresarker that library is quite abandoned and uses old React and xterm packages. I suggest just take XTerm component from here and copy to your project. It supports React 18 and should work without any problems. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sagoresarker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sagoresarker that library is quite abandoned and uses old React and xterm packages.
I suggest just take XTerm component from here and copy to your project.
It supports React 18 and should work without any problems.