mrousavy / nitro

🔥 Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI
https://nitro.margelo.com
MIT License
642 stars 22 forks source link

Update using-nitro-in-your-app.md #320

Closed vilindberg closed 1 week ago

vilindberg commented 1 week ago

I would add this since I actually wasted like 5 minutes on it. Just copied and pasted like a true lazy dev.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nitro-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 6:16pm
mrousavy commented 1 week ago

I would argue that imports are not required to be put into the docs.

Isn't it obvious that this has to be imported? There's a red squiggly line in every editor if you don't import it

vilindberg commented 1 week ago

Yeah, it was kind of silly of me to miss it, but I did. IMO it's nice when the copy code-click + paste flow is seamless.