Skip to main content

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.

-4 votes
0 answers
70 views

I am currently trying to develop a Roblox game;, would somebody be able to help me with locate a module?

This is a module script, it is in ServerScriptService: local PlayerDataHandler = {} local dataTemplate = { Race = "", Cash = 0, Inventory = {}, Level = 0, } local ...
Sergei Ivlev's user avatar
0 votes
1 answer
89 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 '...
Kundera's user avatar
  • 155
-2 votes
0 answers
56 views

How to check the user has paid the correct price with MetaMask

I have webgl build platform that sell products using ethereum and metamask. Button code in C# is like this: public void Send50() { Price = 50; StartCoroutine(SendTransaction()); } Obviously, ...
hesam gol's user avatar
0 votes
0 answers
17 views

Blazor PWA with shared database between all uses in offline mode

A requirement for our Blazor PWA application is all data persisted on client computer must be shared between all users on that machine. Is there a way to share data between all uses on client machine ...
Tri Ngoc Nguyen's user avatar
0 votes
0 answers
34 views

Trying to figure out how to keep a heartbeat interval open from javascript to discord on a website to read messages?

I'm new to javascript development and I'm testing something where it can read messages on a certain discord server. The code I have now works for like 3 seconds when the website opens. I'm not sure ...
TheEmeraldEnd's user avatar
1 vote
0 answers
61 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 ...
riki's user avatar
  • 1,685
1 vote
1 answer
40 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 ...
t3lls's user avatar
  • 33
0 votes
0 answers
77 views

Docx.js: Use patchDocument on client side

I'm trying to fill a word template with data from JSON, and found this amazing library (Docx js), it's documentation says that works on server side and client side, until the most examples shows ...
Joseph Aguilar's user avatar
0 votes
0 answers
47 views

Handling of user-provided API keys in a client-side app (no server). Secure?

I'd like to create a simple JavaScript app that asks a user for their API key from a third-party service and makes it easier to use the service with a better GUI. There will be no server-side code on ...
Anton Zemlyansky's user avatar
0 votes
1 answer
77 views

Handling localStorage in Next.js 14 with SSr and Sequelize

I'm using Next.js 14 for my project. One of the features of the site is to add products to favorites, where the product IDs are stored in localStorage. In the Page.jsx file (located at /favorites), I ...
Mauricio De Oliveira's user avatar
0 votes
0 answers
33 views

How to dynamically add CDN that user wants to my React Project and use it in a client side editor

so here is the thing I have a code editor in my React app ( Monaco - editor ) now I want to load the CDN that the user gives me ( think about it like the user enters his desired CDN in an input ) and ...
Hamid Kamyab's user avatar
0 votes
1 answer
39 views

PDF encryption image color corruption: should i encrypt hexa string inside an array value?

Here is my obj 17 encrypted, the ColorSpace value is the same as before encryption, so should i encrypt the hexa value inside the array value ? 17 0 obj << /Length 5696 /Subtype /Image /Width ...
Mustapha BOUFARA's user avatar
0 votes
0 answers
43 views

how can i enable the next button if one or more checked boxes are selected and disable if none are selected in ServiceNow

i am working on a ServiceNow custom widget in which i am getting all the data from backed in an array. i want that if user doesn't checked any checked boxes the next button should be disabled. if user ...
DIY Makers's user avatar
0 votes
0 answers
54 views

Dynamically rendering content inside the header component with Next.js

I have the following setup as the layout for an application in Next.js using the app router. The problem that I have that I am unable to find a solution which doesn't give an error inside the header ...
Ákos Kovács's user avatar
0 votes
1 answer
42 views

Webpack over CDN import to vue js The requested module 'url' does not provide an export named 'default'

Hope you're doing well. I'm currently working on a JavaScript module that I plan to load via a Content Delivery Network (CDN) using the URL https://x.com/my-script.js. However, I've hit a snag despite ...
Sabri Mahmoud's user avatar
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 ...
Ministry Ray21's user avatar
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 ...
Renato's user avatar
  • 19
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....
rcheetah's user avatar
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 ...
Swapnil Kashish's user avatar
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' ...
Matheus Felipe Vieira Santiago's user avatar
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 ...
A.Goel's user avatar
  • 99
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 ...
dogakorkmaz's user avatar
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 ...
Wolfram Scharnhorst's user avatar
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, ...
Mustapha BOUFARA's user avatar
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 ...
Anusree Sunil's user avatar
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 ...
Vatsal Rathod's user avatar
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 ...
Eyup Canbudak's user avatar
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 ...
109 Kunal Khatri's user avatar
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', ...
Kersmo's user avatar
  • 11
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 ...
CMTV's user avatar
  • 2,719

15 30 50 per page
1
2 3 4 5
79