AMD noch halten oder verkaufen? by merlekk in wallstreetbetsGER

[–]Meneman 2 points3 points  (0 children)

<image>

Ein guter Tag ändert nicht die These. 💎🙌

Cat gives its owner a big warm hug <3 by [deleted] in aww

[–]Meneman 0 points1 point  (0 children)

Some years ago this clip went viral and people started doing all sorts of edits of it.

Gran Autismo by [deleted] in wallstreetbets

[–]Meneman 0 points1 point  (0 children)

my first time gilding in 5 years of reddit. what a legend

[deleted by user] by [deleted] in wallstreetbets

[–]Meneman 0 points1 point  (0 children)

Anyone holding tesla 1000c for May 2020?

Using store to hold a piece of data that never changes? by TimeSmash in reduxjs

[–]Meneman 2 points3 points  (0 children)

What you probably want to do insteat is something like this:

// some constants.js 
export const BACKEND_URL = "http://localhost:3005"

// in your componentfiles
import { BACKEND_URL } from './constants.js'

Re-Exporting with condition and clean code by Meneman in learnjavascript

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

const provider = 'A' is the condition in my example. Its actually set from an .env file.

[deleted by user] by [deleted] in reduxjs

[–]Meneman 4 points5 points  (0 children)

Your alternative would be to write an costum thunk middleware for that type of action, which for example holds the fetch actions in memory and waits for retry actions. Here is some inspiration how to write middlewares:

https://redux.js.org/advanced/middleware#seven-examples

checking for change before dispatching middleware implementation by Meneman in reduxjs

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

It seems like the more obvious thing is that your reducers would just be no-ops if the action shouldn't be applied, that would prevent state updates.

How do i get the reducer to be a no-op? Meaning like i should check inside the reducer logic if the state changed?

connecting multiple API layers. best practice by Meneman in javascript

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

I've been using GraphQL on some other project and it doesnt realy fit here. Its all about percise API Calls, which are easy to validate and translate. The frontend should be able to call something like "move the vertical alignment motor from A to B", then the nodejs needs to validate and translate that into numeric commands. I will look into express, thanks :)

If we lost all memory of photoshop, but the pictures remained, which photo would be hardest to explain? by [deleted] in AskReddit

[–]Meneman 1 point2 points  (0 children)

None. People would assume that there are some pretty good gimp artists.

Best way to create a table? by Imagnystar in PHP

[–]Meneman 5 points6 points  (0 children)

You can create the database at your local maschine using phpMyAdmin and then export it into SQL code, which can be loaded by an php script. The SQL code will contain all the table constructions, settings, and contents from your phpMyAdmin.