Open danthegoodman1 opened 1 year ago
Or maybe we use htmx + preact SSR and no JS at all. Then have form posts (url encoded) and conditional SSR whether the user is logged in or not (store simple userid in cookie). See example https://htmx.org/examples/inline-validation/
clearly nextjs sucks with the serverless functions locally can can't do leveldb. We can do express + passport + leveldb + react (maybe use https://3body-net.medium.com/building-a-dev-server-with-express-and-webpack-761704f0c66a for doing hot reload and webpack right in express? Or just do vanilla js)