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.

0 votes
1 answer
59 views

How do i send a function from the server to the client

Im new to post requests in NodeJS & ExpressJS, Im trying to pass in a function (not the function's result) to get called in the client, I have this listener and this post request (Im trying to ...
ContentGamer's user avatar
1 vote
1 answer
288 views

OAuth + PKCE expects the code verifier to be sent from the client-side, so isn't the code verifier exposed?

I am implementing OAuth2 with authorization flow + PKCE for a single page web application. My question is, in the flow described, it is stated that the code verifier is sent to the authorization ...
AIMLA's user avatar
  • 11
1 vote
1 answer
347 views

ReferenceError: SharedArrayBuffer is not defined while using ffmpeg.wasm

<!DOCTYPE html> <html> <head> <title>TikTok Live Downloader</title> </head> <body> <h1>TikTok Live Downloader</h1> <label ...
Hima's user avatar
  • 13
0 votes
0 answers
16 views

which script dont need any software setup or config

Apart from Batch script, which script I can use that don't need installation or configuration at client system and can be invoked from windows visual studio? powershell python etc. needs installation. ...
Peeyush's user avatar
  • 39
0 votes
0 answers
111 views

Persistently storing an encrypted private key on the client's browser

Note from author: this question is unlike multiple similar questions as it is specific to the very limited browser sandbox and specifically asks about key persistency I have a public key ...
Lakshya Raj's user avatar
  • 1,725
0 votes
1 answer
678 views

azure AD SPA using auth code flow with PKCE in react app

I'm trying to not let my users sign in again and again whenever it comes to use the app after logging in once, and for that I'm trying to generate refresh token (already having accessToken and ...
amar kumar's user avatar
1 vote
1 answer
871 views

oracle apex using dynamic action on a date field

I am a fresher in oracle apex, need some inputs. There is a form to enter header information. In that there is a date field :P100_ENTERED_DATE, if this field value is less than current date then we ...
vr_oracle's user avatar
0 votes
0 answers
14 views

I just want to know if exist any way to transform this code from Client Side Rending to SSR

'use client' import React, { useState, useEffect } from 'react' import DesktopProduct from './DesktopProduct' import MobileProduct from './MobileProduct' import { useGetProductQuery } from '@/redux/...
Luis David Onate's user avatar
1 vote
0 answers
203 views

Vue 3 SSG with client-side rendering

A simple question. Is this possible with Vue 3 (and Vite preferably)? Suppose we have 4 pages: Home (/) About (/about) Pricing (/pricing) Contact (/contact) Is it possible, to prerender each one of ...
hexrw's user avatar
  • 69
1 vote
2 answers
12k views

Why I cannot use `useState` in a child component in Next.js 13?

a new update in NextJS came out (with app router). I am really confused by the client/server side component relationships. I am currently experimenting with it, and it says in the docs that: "...
alEN's user avatar
  • 107
0 votes
1 answer
383 views

google Tag Manager datalayer payload difference

So when I was working with GMT to GA4, I was facing an issue such as the datalayer to which events are being pushed are a little different sometimes from one another. I am also loading GTM script ...
That Coder's user avatar
0 votes
1 answer
535 views

JS file share between front end as common file and backend as module

A JS file name list.js contains an array of data like: let users = [{firstname: 'Paul', lastname:'smith'}]; This file is loaded on client side with the following line: <script src="/js/list....
Fifi's user avatar
  • 3,467
10 votes
3 answers
8k views

Pass a server-side prop to a client-side component

I am trying to figure out how to pass a variable declared on the server side of my nextjs 13 app into a client side function that I have declared in one of my component files. As you can see in my ...
Collin Huber's user avatar
3 votes
2 answers
265 views

Display GitHub Gist while rendering Markdown client-side

How can one display the contents of a GitHub Gist while parsing a markdown file client-side using Marked.js or with any other client Markdown library? The code below renders the Markdown file except ...
Ayan Mullick's user avatar
2 votes
1 answer
4k views

How to avoid using "use client" in next 13 with material ui? [duplicate]

I'm trying to build a server-rendered app in next.js 13. When I try to import any material ui component inside the layout.jsx or any other file I get an error. You're importing a component that needs ...
Michal's user avatar
  • 21

15 30 50 per page