Blu Frame
banner
blufra.me
Blu Frame
@blufra.me
Tech 🧑‍💻 for a Better Planet 🌱
Re-usable ♻️ Beautiful 🌟 Efficient 💡Human 🫂

https://blufra.me
https://github.com/bluframe

#React #Next.js #GraphQL #Typescript
One answer is that we are all using military technology. The internet was first called ARPAnet, developed by DARPA as a military system. As many other technologies before. Then people found an everyday life application. Like the one we are on now. My guess is that is why. They see the application
December 4, 2024 at 10:39 PM
Hi! 😀
December 3, 2024 at 7:01 PM
Hi! 😀
November 30, 2024 at 1:33 PM
🤣 And did you ever use it in a Next.js and unit tested while importing ANOTHER app from your mono - an ESM/CJS UI library built with `tsc`?

THAT is a lot of fun to configure with Jest! 😀
November 27, 2024 at 12:08 PM
Hi! 😀
November 25, 2024 at 8:34 PM
Hi! 😀
November 25, 2024 at 12:58 PM
--no-verify?? 🤣
November 24, 2024 at 3:54 AM
Our experience? We don't overthink it. Both options are good. We choose one approach, keep an eye on it early-days so if it appears the other option suits our codebase better we can switch quick and we don't need to move around too many things 🤣
November 23, 2024 at 2:19 AM
For types to export no-brainer. For types internal to a package... the way we do it is look at 2 options:

* keep it in the file where it is needed first and then from other files do import { HomeVideoReview } from "components/HomeVideoReview"
* keep it in "/types" if it is reused A LOT 😀
November 23, 2024 at 1:57 AM
For our UI libraries in our mono? We declare Typescript interfaces in each file. We export the ones we need on other packages and build at build time

That way for the other packages - say a Next.js frontend - we just import { Carousel } from "@bluframe/site-ui" and we have our type available for us
November 23, 2024 at 1:49 AM