Skip to content

Tag: javascript

“event” is deprecated, what should be used instead?

I’m using a found code where “event” is used. It works, but I would like to know what should be used instead. I’m a novice programmer and there are a concepts that I’m missing. in this case, I’m using a code I found in the web, that can be found in the next link: https://co…

Dynamic media query with React Hooks

i’m trying to build a Bootstrap Grid(with Container, Row, col-md-12, etc) from ground on React. My first problem is with Container. In Bootstrap, Container has multiple media queries. I could(i’m using Styled Components with Styled Tools) obviously create multiple media queries that will overwrite…

Typescript Type of JSON schema object

Is there a special type associated with JSON-schema objects in typescript? My class has a method that checks whether its members satisfy the dynamic json schema schema, for now I do it like so, where for example But to remain generic I would like to allow for checking arbitrary json schemas, not just this spe…

SameSite warning Chrome 77

Since the last update, I’m having an error with cookies, related with SameSite attribute. The cookies are from third party developers (Fontawesome, jQuery, Google Analytics, Google reCaptcha, Google Fonts, etc.) The errors in the Chrome console are like this. Is there anything I need to do in my local m…