thewh1teagle

Results 135 comments of thewh1teagle

@Polochon-street Do you know if it's possible to statically link ffmpeg for windows in msys2 when using this library? I have static libraries installed but it doesn't link them statically

@Polochon-street It has to be something with `bindgen` (`build.rs`) I have the static build files of `ffmpeg` already, just need to make `rust` use them

@Polochon-street As I thought the problem with `rust-ffmpeg-sys` in this line [build.rs#L654C52-L654C63](https://github.com/zmwangx/rust-ffmpeg-sys/blob/master/build.rs#L654C52-L654C63). It looks for `.a` files to link them but in windows it's `.dll.a`. maybe related?

> how to fix? Maybe you installed special software for record system audio such as [BlackHole](https://github.com/ExistentialAudio/BlackHole)?

It doesn't work anymore, when using the same code like @Gk0Wk provided, I get only the HTMLDivElement, but I don't get state and view, they undefined

@jaywcjlove I try to use it in `useEffect` but the `state` and `view` is `undefined` my goal is to set default line number. so the editor will be positioned to...

@jaywcjlove That's working because you test it on `CodeSandbox`. refresh the page and see that in the first `useEffect` state and view are `undefined` ![image](https://github.com/uiwjs/react-codemirror/assets/61390950/adb514ec-e0cc-48a7-a60c-66191db9cb4b)

@jaywcjlove Here you can see also in the link you sent. Tried in `Firefox`, `Chrome` To reproduce it, you need to refresh the page and see the initial `useEffect` log...

It's a bug in the library... I found this workround: ```js import CodeMirror from "@uiw/react-codemirror"; import { useRef } from "react"; export default function App() { const ref = useRef();...

What's the status of this? Can I use HID with MicroPython on Raspsberry PI Pico W?