#Remix + Payload

1 messages · Page 1 of 1 (latest)

dull sluice
#

Hi Everyone

I built a super basic Remix + PayloadCMS starter kit, called "RePay"
The difference to the official remix-payload repo is that it doesnt rely on monorepo tooling, and is much simpler.

Also, it's running on the latest payload version!

Take a look and let me know what you think!

https://github.com/MoSattler/repay

devout ridge
#

Nice! Had some Monorepo/webpack issues with the official example, this could be the ticket!

violet jacinth
dull sluice
violet jacinth
#

Great thanks

devout ridge
#

Do you experience everything take a couple second slower on this template?

devout ridge
#

mmm, also why is it calling root loader every navigation? wait that's my fault.

dull sluice
#

wow, this looks super slow. are those pure remix routes, or is payload somehow slowing it down?

devout ridge
#

Simply navigating between pages.

devout ridge
#

We simply copied over the same routes and payload setup from the monorepo example, but the difference is drastic:

dull sluice
#

dev or production build? can you open an issue in the repo? I will take a closer look later today

devout ridge
#

This was dev, will check tomorrow on production and post an issue!

dull sluice
devout ridge
#

Ahhh

#

I recall reading about that with the new remix dev server but didn't connect the dots.

#

Gonna get out of bed for this!

#

Looking good!

#

Does that mean we don't really need the ternary either?

#

oh yeah, much, much better!

devout ridge
#

mmm, nodemon isn't restarting the server on file changes without purge.

devout ridge
#

Looks like we can keep purgeRequireCache, but get similar performance via using swc in tsconfig.json

dull sluice
#

@devout ridge merged!

frosty minnow
#

Really cool payload is on my radar too. Has anonye tried a single payload install multiple project content serving concept?

#

So you could out payload to host content for priject x y z and load it into remix using an identifier

devout ridge