Questions tagged [client-side]
The term "client-side" refers to that portion of a web application which runs in the user's browser. Client-side code is most commonly written in Javascript, HTML and CSS. The counterpart of "client-side" is "server-side", i.e., the part of a web application running at the web server.
client-side
2,366
questions
0
votes
1
answer
174
views
Roblox default animate script not working on NPC
So I'm trying to use the default Roblox "Animate" client side script on an NPC and when I try it, none of the animations load at all
When I try to run the game with the code, nothing happens ...
0
votes
0
answers
28
views
Hydration error, difference between client and server side
What can i do to avoid the cleint side and server side differences/ hydration error? I want to initalize the state of carProducts to the localstorage, but this result in the hydration error. I tried ...
2
votes
1
answer
254
views
docx.js: How to use document patcher on client side
I'm trying to generate docx file using the docx javascript library but only on the client side.
The generation of new documents works like charm, but I would like to patch a document using the patcher....
0
votes
1
answer
39
views
The quiz Id is not getting fetched in Angular
Hi I am trying to fetch Qid from Server side and in postman it is working fine but in angular not coming properly
The problem is only appearing when trying to fetch Quiz Id others like category ID and ...
0
votes
2
answers
127
views
"localstorage is not defined" nextjs14 "use client" running in server side
I was configuring the context in Tailwind for a Next.js 14 website, and I just wanted to provide a global theme configuration for my project. So, I created the ThemeContext and added the 'use client' ...
0
votes
0
answers
102
views
QuickFix in Custom Language(Xtext) using Language Server Protocol
I am very new to Language Server Protocol.
I have all the xtext related files ie. content assist, validation, quick fixes etc in eclipse and our client is intellij.
I want to implement quickfixes ...
1
vote
1
answer
2k
views
Laravel Inertia check current route In JSX file?
I need to check current route in one of my .jsx files to display a specific component, is there a way to imitate Laravel's Route::is() feature?
For now I do the following:
// helpers.js
export ...
0
votes
3
answers
87
views
How to save a two dimensional array in a json file using javascript?
I would like to save a two dimensional array consisting of one column of indicators (string) and one column of values (integer our double) in a file that has JSON format.
It somehow works but not the ...
0
votes
1
answer
86
views
My pdf encryption code encrypt stream but not string, what kind of string should i encrypt and in what encoding?
I tested this code to test by text fields:
PDFWriter.prototype.encrypt = function (ref, obj, pdfSecurity) {
let encryptedData;
const encryptFn = pdfSecurity.getEncryptFn(
ref.objectNumber,
...
0
votes
1
answer
185
views
Libman VS Nuget Packages for client side libraries
What is the need for Library Manager(Libman), if we can install client-side libraries from NuGet packages directly?
I tried both but can't differentiate between them. Please point out the differences ...
0
votes
0
answers
51
views
How to play with different voices in mespeak.js
I am currently working on mespeak.js
I want to use a client side library that helps me convert text to speech without using any installed voices. mespeak.js helps to work on this problem but has very ...
1
vote
0
answers
79
views
Next.js project works locally but throw an error on the server
The project works fine when run locally. But when I deploy it to the server with docker, some components give an error like "Application error: a client-side exception has occurred (see the ...
3
votes
1
answer
767
views
How are client components handled in terms of rendering in React Server Components paradigm,?
I comprehend that server components undergo complete rendering on the server, and they aren't included in the JS bundle transmitted to the client. Additionally, server components don't undergo ...
0
votes
0
answers
26
views
How to fetch data from a component (client side) and filter data based on data from the server? NextJS13
Thanks in advance for your help.
Context 1st.
I have this categories component ( Categories.tsx) with a hardcoded categories const.
export const categories = [
{
label: 'BMW',
...
1
vote
2
answers
1k
views
Handling simple hydration mismatch after fetch in Nuxt 3
I am making a simpe "email confirm" page.
It gets confirm key from URL, sends a POST request to API which returns true or nothing.
If key is correct the API removes it from database and ...