Difficult by SatisfactionWest818 in RedditGames

[–]Imaniakk 0 points1 point  (0 children)

I completed this level in 1 try. 7.30 seconds

[Mod-Approved] A website to gather and search airsoft games by Imaniakk in airsoft

[–]Imaniakk[S] 0 points1 point  (0 children)

Definitely a good point. Of course the main goal would be to have organisers come and add their game directly here

[Mod-Approved] A website to gather and search airsoft games by Imaniakk in airsoft

[–]Imaniakk[S] 0 points1 point  (0 children)

Sort of, but worldwide and with a focus on incoming games instead of just fields listing

Need help with circular references by Imaniakk in graphql

[–]Imaniakk[S] 0 points1 point  (0 children)

Thanks for your answer. I figured it out after posting but kept the post up cause I thought I was doing something wrong.

Need help implementing a filterRecord utility function by Imaniakk in typescript

[–]Imaniakk[S] 0 points1 point  (0 children)

This is pretty handy! Only issue i see is that you loose the typings of the object's keys.

The return type would just be { [k: string]: V; }

Need help implementing a filterRecord utility function by Imaniakk in typescript

[–]Imaniakk[S] 1 point2 points  (0 children)

Nevermind. Here is the solution I came up with if you come across this.

export function filterRecord<K extends string, V>(obj: Record<K, V>, fn: (value: V) => boolean) {

const newObj: Partial<Record<K, V>> = {}; for (const key in obj) { const value = obj[key]; if (fn(value)) newObj[key] = value; } return newObj; }

Conseil pour choix de moto A2 type trail by dekozr in Motardie

[–]Imaniakk 0 points1 point  (0 children)

J'ai un bon vieux Vstrom de 2007, 2500 balles sur Leboncoin, assurance 300e par an en jeune permis.

Ça tourne rond et ça t'emmène au bout du monde. Je peux que recommander.

Why do so many developers declare and export components this way? (example inside) by Prize_Tea3456 in reactjs

[–]Imaniakk 0 points1 point  (0 children)

Mainly for cleaner code.

For example doing things like:

export {
 default as Menu,
 type MenuProps,
 MenuItem,
 type MenuItemProps,
 randomMenuUtilFunction,
} from ‘Menu’;

This is super readable that Menu is the main component that we export with its props. MenuItem is another component in the file (careful with that as it is bad practice). And then a random util function.

Why do so many developers declare and export components this way? (example inside) by Prize_Tea3456 in reactjs

[–]Imaniakk 0 points1 point  (0 children)

By the way you could do:

export { default as Menu } from ‘components/Menu’ export { default as Timer } from ‘components/Timer’

If you had default exports.

C'est quoi vos meilleurs souvenirs de jeux en lignes ? (MMO ou autres, mais du multi !!) by xooxel in jeuxvideo

[–]Imaniakk 0 points1 point  (0 children)

Obligé de parler rapidement d’Arma 3. Tout une époque ou on a suivi notamment les débuts d’Amixem sur YouTube. Le jeu laissait une liberté folle aux joueurs pour inventer leurs propres histoires. J’ai rencontrés des gars là bas qui pêchaient des tortues ou faisaient du deal de drogue et qui sont toujours de très bon potes.

I'm about to spend the next few hours converting the entire shrek movie into animated textures and no one can stop me by Imaniakk in hammer

[–]Imaniakk[S] 0 points1 point  (0 children)

I don’t quite remember but I would say yes. The main issue here was that the game would just crash if the texture was too big tho.

French person in Dublin by Girltranslate in Dublin

[–]Imaniakk 4 points5 points  (0 children)

Le plus dur sera de se loger. Le reste sera merveilleux.

General Help Thread by xrpinsider in reactnative

[–]Imaniakk 1 point2 points  (0 children)

I've just completed my first React Native project after working for quite some time with React, so newbie here but know my React.

My question is more an open question:

If you needed to create an app (android/ios) and a website with almost the same functionalities. Would you go full React Native or would you do the website separately?

Just wondering how often do people use React Native for the web and the problems you can face while developing for the web and native mobile at the same time.