2,355 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
78
views
Integrating Lit with Next.js SSR — How are others approaching "client islands" vs full SSR?
Our team is exploring how to best use Lit components within a Next.js App Router setup where most pages are server-rendered (SSR) by default. I understand that mixing Server and Client Components in ...
0
votes
0
answers
93
views
How can I change the camera's CFrame while still having standard camera controls?
I'm trying to invert the depth of the camera (multiplying the camera's CFrame by (0,0,0, -1,0,0,0,1,0,0,0,1). To my knowledge, the only way I can implement this is by setting the camera type to ...
2
votes
2
answers
74
views
Client Component props hydrate twice which cause props data to be empty at first in Nextjs 14
I am having an issue where the data from fetch was pass to a client-side component.
'use server';
const Page = () => {
const data = awaits fetch(dataUrl)
if (!res.ok) {
...
-3
votes
1
answer
442
views
Astro server side rendering (SSR mode) and render some parts of the page client side
I'm using Astro in SSR mode. Now I have a certain page with certain blocks (and their graphql requests to collect it's data) that are deep in the page below the fold. I thought it would be better for ...
0
votes
1
answer
71
views
Attempt to index boolean with 'waitforchild' error
So I'm trying to make a LocalScript that connects to a ServerScript through a remote event which makes a Gui appear. The error is that every time I fire the remote event I need it to happen for one ...
0
votes
0
answers
130
views
nextjs client side dynamic app routes is not working in production but working well in dev
When I forget the password, mail sent to my gmail through nodemailer and I get this http://localhost:3000/password/reset/d325795aa2ce721f63c805b695b6e96b3dd255f4
In production the url with this domain:...
0
votes
0
answers
64
views
Is there any client-side storage that is safe from browser extensions?
LocalStorage, SessionStorage and IndexedDB can all be easily accessed by browser extensions through content scripts. Yes, the extensions need user permission, but users are dumb enough to give ...
-1
votes
1
answer
233
views
API call from NextJS app throws a 403 if call is from client component, but not from server component
Like the title says, when I make a request to an external API from my client side component, I get a 403, but if I make it from a server component, it works just fine.
The reason I need to make the ...
1
vote
0
answers
43
views
Should i use the .0.mts file in Astro for typing client-side JS?
I'm querying for a web-component defined in a separate Astro component file as set out by this pattern.
I'd like typing and so I tried exporting the web-component name in the client-side JS. VSCode ...
0
votes
1
answer
410
views
How to configure Rollbar to integrate with next.js 14 using app routing?
I'm currently in the process of configuring Rollbar to integrate with Next.js, however the documentation on Rollbar (https://docs.rollbar.com/docs/nextjs) seem to be slightly out of date as it refers ...
-2
votes
1
answer
61
views
What is the best scalable way to implement a ContextProvider to fetch and filter data [closed]
I have been working on a project that requires fetching a bunch of data and provides multiple ways to filter/search the data, and I though about keeping filtering on the server-side considering I'll ...
-1
votes
1
answer
130
views
Is Google Picker API affected with deprecation of client side javascript libraries?
I am looking to implement Google Picker modal into my product. However, while I was going through the documentation, I came across a page which mentions that the JS libraries are being deprecated.
...
4
votes
3
answers
2k
views
nextjs "Error: Unsupported Server Component type: undefined"
My code is like below
'use client';
import {
UserGroupIcon,
HomeIcon,
DocumentDuplicateIcon,
} from '@heroicons/react/24/outline';
import Link from 'next/link';
import { usePathname } from '...
3
votes
0
answers
251
views
Why am I getting prerender errors in Next.js 14 build?
I am encountering an issue when running the next build command on my Next.js 14 application. The build process fails with the following prerendering errors:
I have checked the links provided, but I am ...
1
vote
1
answer
73
views
Storing a Synchronous Encryption Key securely on the Clientside
I am building a web app which uses Sign in with Apple for the normal authorization and login.
After signup the user should create a passphrase which is enhanced via a KDF and acts as a symmetrical key ...