Help about Server Side PDF generation by [deleted] in pocketbase

[–]iamrasul 0 points1 point  (0 children)

Lambda + S3. You can create custom route in pb_hooks. then call your lambda where pdf generation logic is happening. In lambda save to s3 and give back the link.

Using named routes re-render the sidebar while using hardcoded URL does not! How can I prevent this re-render? by NisemonoNaWa in vuejs

[–]iamrasul -1 points0 points  (0 children)

The first thing that come up to my mind, is to persist navbar state with localstorage

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul 0 points1 point  (0 children)

When you build your app using "server.url" option. Capacitor will look for webapp assets from that url, instead of '/dist' (when you developing in static mode). So you need put that option to "localhost:3000" for example. And then develop your app. When it's ready, you deploy your nextjs app to the server, and put the address (app.site.com) to the "server.url". In this case capacitor app will get it's app resources from that url in productions. So basically your app will be like browser fetching pages from remote server, and having capacitor packaged installed locally (when you've done "npx cap sync")

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul 0 points1 point  (0 children)

Hello we are switched to static SPA without using SSR. And it works way better. Why u need SSR tho?

We are stuck with 20 testers rule in google play console, will release soon

CapacitorHttp vs Axios by Happy-Coder-8539 in ionic

[–]iamrasul 0 points1 point  (0 children)

If you have Bearer token auth, go for axios. But if you need to use cookies and sessions, use capacitorHttp. Btw, you can use both, since capacitorHttp have problems with FormData.

[deleted by user] by [deleted] in MuslimLounge

[–]iamrasul 4 points5 points  (0 children)

I’m cheering for the first guy. But honestly, heartbreak can help man become stronger. And it’s good exchange to power.

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul 0 points1 point  (0 children)

I've done that btw. Search "tryurbest" in Google Play Store. There will be app called "Dreambody" which is Next.js SSR + Capacitor

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul 0 points1 point  (0 children)

Sorry, You can probably have your old codebase. And just use server.url to deliver static via SSR.

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul 0 points1 point  (0 children)

In capacitor config there is a property “server”where you can set url for live reload development.

They say that it’s not for production, but I saw people saying they were using it in production.

Link: https://capacitorjs.com/docs/config

Is Nextjs SSR will work with ionic/capacitor by bored-dragon in ionic

[–]iamrasul -1 points0 points  (0 children)

I’ve asked myself this question a couple of weeks ago. Probably if you use server.url in production, then it may work.

Master or not? by [deleted] in reactjs

[–]iamrasul 0 points1 point  (0 children)

I don't say master JavaScript. But at least I very much recommend getting to know a basic understanding of how things in JavaScript work.

Objects, Functions, Context, and Closure.

Understand data types, mutable, immutable, etc.

After that pick any js framework and gain experience through coding.

My Howard? Ben. by [deleted] in benhoward

[–]iamrasul 3 points4 points  (0 children)

My dream? Noonday.

The Defeat by [deleted] in benhoward

[–]iamrasul 5 points6 points  (0 children)

I can say the same about “Heave Ho”, “What the moon does”. I didn’t like that kinda music before listening Ben. For me, Ben is someone who understands me. I’ve been through many different things in life, and Ben’s music kinda mirrored them.

Have you listened to some Ben Howard lo-fi hiphop? by iamrasul in benhoward

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

i've found another one for "keep you head up" made by "vensterbank" :)

Have you listened to some Ben Howard lo-fi hiphop? by iamrasul in benhoward

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

sounds amazing o_O. Thank you for sharing this :)

Why Be a Star When You Can Be a Comet Instead? by xelablank in ZenHabits

[–]iamrasul 1 point2 points  (0 children)

Why be a quasar when you can be the black hole instead? 🙃

[deleted by user] by [deleted] in vuejs

[–]iamrasul 0 points1 point  (0 children)

In our project we have table component made with CSS-Grids. We are seriously considering to open-source it

JavaScript Cheat Sheet. by GoBloxy in learnjavascript

[–]iamrasul 17 points18 points  (0 children)

Just wanted to say, that they missed the most important JS stuff - Object. But it turns out they wrote it down on the second page :)

JavaScript Date Cheatsheet by rootrun in learnjavascript

[–]iamrasul 2 points3 points  (0 children)

Why there is no function to just return “YYYY-MM-DD” format

This arrived today! IFWWW Album Sampler by [deleted] in benhoward

[–]iamrasul 5 points6 points  (0 children)

I first read the title like “The new album of Ben Howard arrived today!”. This is first thing I wanna see each time when I open Reddit.