Hi everybody The code below will check if an array is there in localstorage and call it . And if there isn't any array it will make an empty array and push new object element ...
Hi devs I struggling with this issue for a week😞😞 please help how to read this cached data by Apollo client? I readed documents, watched video on youtube and ect... but I cant...
Array.prototype.map() expects a value to be returned at the end of arrow function array-callback-return should we use filter() before map() or just return null for else cond...
Hi ! I got this error : Uncaught TypeError: storeInLocalStorage is not a function at eval (eval at RenderData) anybody know about it? as I know it is a function. the code is h...
sorry I don't know if this is a right place to ask about regex... but how can I get all newlines ? actually there is a <code> </code> with HTML Entities here that I want to d...
Hi guys, Do you know a good cms, that works with nextjs? (+A nice free plan) I already tried: tinacms prismic strapi And a lot of other git based cms
we have a card that contains a picture and a text on the picture then we want to make the card clickable, actually it's clickable already and works good , but the problem is: ...
how can I increase the space of a svg? it cut the lines that close to edge when I set a big width-stroke
I really dont know what is wrong with this white gap here this is a <div> (light yellow area) that contain an <span> (yellow area) and a border on the left side (dark yellow) ...
Hi devs I am confused to choose an open source licence in github. anyone can help? I trying to share my web project that I designed by html css js.
Hi devs I trying to get some data from graphQL and then dispatch the data to the redux store. this is the action creator function that I used, and how ever it works but I will...
did you write the script yourself?
I get a string html markup from api and it contains a part like below: __Height:__ 170 cm (5'7\")\n__Position:__ 104th Training Corps, Scouting Legion\n__Graduation Rank:__ 1s...
Hi devs how can I save a nodeList in local storage? when I use JSON.stringify() method, it will remove the contents and saves empty objects like picture above
hi devs how to access to the previous state in zustand when we set? just like react: setState(prevState=>prevState+1)
if we have multiple grid template areas for multiple pages then we want to add our navBar and footer outside of the template areas but how we can do this? because grid will ta...
anyone know how to add variables to the query by gql from graphql-tag (in apollo client)? I have query below and I want to define a specific id as the variable gql`query ...
Hi devs I tried to learn some frameworks of css and started by Tailwind-css and now I know it completely. It's awesome. But now I tried to learn materialize and Bootstrap, boo...
onClick will only trigger when the left mouse button is pressed and released on the same object. I have problem with this definition. bcs when you have a carousel and you cli...
how do you handle errors in react applications (functional)? I read some article but have been confused. could we use ErrorBoundry in functional components too? what about wra...