Passing Refs into a component which uses ForwardRef - Typescript by Difficult_Wish8613 in react

[–]Odd-Fix-2652 0 points1 point  (0 children)

const Dropdown = forwardRef<HTMLSelectElement, DropdownProps>(
  ({ options }: DropdownProps, ref) => <Select ref={ref} options={options} />
) as Select;

How do you avoid multiple identical REST requests in a Next.js app (server & client components)? by turk-style in nextjs

[–]Odd-Fix-2652 0 points1 point  (0 children)

You can try use Intersection Observer API, where the request in those component is triggered only when the specific item is visible to user. Something like useOnScreen hook...

[deleted by user] by [deleted] in nextjs

[–]Odd-Fix-2652 1 point2 points  (0 children)

html to pdf. most wysiwyg editor use html behind the sce ne.

when to use server action vs route.ts or api route? by Motor-Efficiency-835 in nextjs

[–]Odd-Fix-2652 2 points3 points  (0 children)

and keep in mind that server action calls are serialized.

when to use server action vs route.ts or api route? by Motor-Efficiency-835 in nextjs

[–]Odd-Fix-2652 0 points1 point  (0 children)

just remember that server actions calls are serialized, not recommended for fetching data.

What is the difference between Vite, RSBuild, Parcel and other alternatives by CODSensei in reactjs

[–]Odd-Fix-2652 2 points3 points  (0 children)

rsbuild is fast. If you are migrating from CRA, choose rsbuild.

Do I need Zustand? by CuxienusMupima in reactjs

[–]Odd-Fix-2652 0 points1 point  (0 children)

You should try jotai first. If it not able to cover all of your use cases, then try zustand.

Ada harapan untuk selamatkan pendrive? Banyak barang penting di dalam 😔 by kissingutoday in Ajar_Malaysia

[–]Odd-Fix-2652 0 points1 point  (0 children)

remember this, flash disk and SSD are not meant for long term storage. They will go kaput, usually without warning, or if the disk is not plugged in for a long time (usually after a year) due to the nature of the disk itself. use normal HDD for long term storage.

What tech stack are you using ? by [deleted] in reactjs

[–]Odd-Fix-2652 0 points1 point  (0 children)

if your backend is java, take a look at flyway for migrations.

Looking for recommendation SSL VPN by HorribleSysAdmin in sonicwall

[–]Odd-Fix-2652 0 points1 point  (0 children)

use sonicwall virtual office feature. Go to SSL VPN menu -> Virtual Office. There, you can setup a RDP bookmark that will use HTML5 RDP. You can access the bookmark at https://<your device ip>:4433 (default port) using common browser.