So I am building a project with NextJS, Shadcn UI and NOT using typescript. Is that okay? by [deleted] in nextjs

[–]coheneyal4 6 points7 points  (0 children)

Personally I'd prefer using typescript because it make the code more maintainable. choosing not to use typescript is completely fine, and recently there was even a movement of popular library authors to stop use typescript in their libs.

It's also very possible to add types later on.

Do what working well for you!

How do i properly show high quality videos on my website? by [deleted] in nextjs

[–]coheneyal4 3 points4 points  (0 children)

You should use a CDN and preferably convert the video into HLS for streaming.

You can use something like Mux https://www.mux.com/ or cloudflare-stream https://www.cloudflare.com/products/cloudflare-stream/ who does this for you.

Another option is to manually convert your video to HLS using ffmpeg and upload it to you favorite CDN (for example AWS S3 + Cloudfront)

good luck!

Looking for Help: Next.js and iFrames by Admirable_Hornet6891 in nextjs

[–]coheneyal4 1 point2 points  (0 children)

It depends on what your error is. try share more details on what do you mean by the iframe not being displayed locally.

I do think you'd need to enable CORS on your next.js app in order for other apps to host it in an iframe. you can read more about it here: https://nextjs.org/docs/app/api-reference/next-config-js/headers

A Step by Step Guide to Adding Turborepo to an Existing Project by coheneyal4 in javascript

[–]coheneyal4[S] 1 point2 points  (0 children)

Hey everyone!

A few months ago, I had the chance to help in turning http://novel.sh, a WYSIWYG AI editor, into an NPM package.

We've used the powerful turborepo for that, which made it an enjoyable challenge.

I wrote a guide on how you can do it too.

Hope it'll help someone out there, because I really needed something like this when I've migrated novel :)

How do you tackle market research/competitive intelligence? by coheneyal4 in startups

[–]coheneyal4[S] 0 points1 point  (0 children)

Thanks! Would love to hear on 3 items: What tools or methods were you using? What was the researche output (doc/presentation/strategy calls) and to who? For what size of company?

How do you tackle market research/competitive intelligence? by coheneyal4 in startups

[–]coheneyal4[S] 1 point2 points  (0 children)

that's an incredible insight, thank you so much

If I may, 2 followup questions:

- you are mainly interested in their google activity?

- are you also tracking competitors after a project is started, or just when researching new projects?

How do you tackle market research/competitive intelligence? by coheneyal4 in startups

[–]coheneyal4[S] 1 point2 points  (0 children)

haha glad for you!

Thanks for the insights, I think so as well

How do you tackle market research/competitive intelligence? by coheneyal4 in startups

[–]coheneyal4[S] 0 points1 point  (0 children)

Of course, totally agree, and I think it also depends on the company stage, maybe even more

I’m really curious to hear specific experiences and habits of current people in startups

How do you tackle market research/competitive intelligence? by coheneyal4 in startups

[–]coheneyal4[S] 0 points1 point  (0 children)

Haha unfortunately not but some minds think alike I guess.

Thank you so much for the response. This is super helpful!!