#Output:export

1 messages · Page 1 of 1 (latest)

brazen tree
#

I tried using docker to deploy my app and the only way I managed to do it is changing the config to output: export

Is that good? Bad?

What are the pros and cons of this approach
(I must say my docker deployment was way faster that way)

vague sapphireBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

old citrus
#

basically it bundles your app into a spa

#

its like u would build a vanilla react app

#

every page is prebuilt and wont be rendered on the server

#

clientside only

brazen tree
old citrus
#

but you are better off not using nextjs

brazen tree
old citrus
#

with ssr off

#

but you will need to build a own api

#

and everything else that u cant leave open on the client

brazen tree
#

i need something that is good for simple small pages ,
i need to scale that as well so relatvly easy to work with
i dont come from js background , but when i started learning web it seemed like the best aproch

like my api is python anyways

old citrus
#

if u only need a website that is fast and doesnt need a serverfull env then just use vanilla react or react router

#

but u will lack off every dynamic feature that can be done with node

brazen tree
#

hmmm like i am mustly building landers in my job, i heard svelt is good for that but i am not sure how much support does it have

old citrus
#

svelte is also good

#

but react has the most support and libraries

#

for me: react recommended all the way

brazen tree
#

hmmmm dont i need a framework or something?

#

or is react a framework as well?

old citrus
old citrus
#

react router makes it into a framework

brazen tree
#

oh

#

is it new or something?

#

never heard of it

old citrus
#

no it exist a very long time

#

just the v7 is new

brazen tree
#

is it just not that popular?

old citrus
#

it wasnt because everyone was using using nextjs or any other big meta framework

#

it was a library with some extra features enhancing react

#

but now its a framework too

#

if not nextjs, im using react router v7

brazen tree
#

basicly i need something that will be fast to deploy to a server (small in size) and with relativly good performance
i dont really need denamic capabilities

#

(if things looks good then we are happy XD)

#

i liked next js because i can reuse componets and scale down the app size (somewhat)

lapis cradle
#

You can reuse components in basically any front end framework, even vanilla React itself.