BREAD
Explore posts from serversTTCTheo's Typesafe Cult
•Created by BREAD on 10/10/2023 in #questions
Best way to store data between routes
Is History API a good thing in terms of storing data between routes? What is the best tool to use for this purpose?
I see that it stores some weird data when I reload the page instead of navigating to it on client-side
At my job we are heavily using react-router and it's history API to pass data from route to route
What is the approach with NextJS to achieve such thing?
I was also thinking about some kind of global Context but I want simplest solution to create minimal maintenance burden
2 replies
TTCTheo's Typesafe Cult
•Created by BREAD on 9/13/2023 in #questions
DatePicker for react-native
![No description](https://cdn.answeroverflow.com/1151571936246255636/image.png)
7 replies
OpenSearch deployment
Hi everyone. I require assistance with deploying an instance of OpenSearch since I get an error during deployment.
I'm deploying it using docker image from the docker hub: opensearchproject/opensearch
Here are the ENV variables I've set up:
Here are the logs of deployment:
Would appreciate any help
11 replies
DTDrizzle Team
•Created by BREAD on 6/3/2023 in #help
Setting AUTO_INCREMENT starting value
In MySQL it is possible to make auto incremented column to start from specified value. For example
ALTER TABLE tbl AUTO_INCREMENT = 100;
Is it possible to do that using Drizzle?4 replies
DTDrizzle Team
•Created by BREAD on 5/31/2023 in #help
Performance questions
I'm using Drizzle ORM with Planetscale DatabaseJS driver and my application has spots where I want to decrease number of HTTP requests to my database. I have following questions:
1. Does Drizzle+DatabaseJS make separate HTTP request for each query? (I know I should be asking this question to DatabaseJS creators, but asking here in case someone is aware of that)
2. If it does, what would be the best way to group several queries so that they are performed in one HTTP request?
40 replies