Simhozebs on Nostr: There should be no harm in using Next even if you are building something strictly ...
There should be no harm in using Next even if you are building something strictly front end. The workflow is practically identical to a create-react-app project if you use the Pages directory (which I recommend over the new App directory for your case). If anything, you'll benefit from server side rendering!
If you are looking to minimize bundle size as much as possible, however, Preact-vite or Preact-astro should be good as mentioned before. It's a 3kb version of React, so there's nothing more to learn to use it :)
Published at
2023-07-15 03:17:28Event JSON
{
"id": "1fe995fd42f6233d4a115da69be3ddf0033d8172bc735d98604ff470dd44e886",
"pubkey": "259fad9ff061fe6636af2d93da9e3d96f31035ec9796941fe55c2a1874fe5a3c",
"created_at": 1689391048,
"kind": 1,
"tags": [
[
"e",
"ae09d73c04959ec7da13161f91ea0a39a4797432f157c4c36268600e1afee294",
"",
"root"
],
[
"e",
"80babf47bf5167fc41df234fc05eda5bc10f00429d4e9c761b43350ef4d19d2a"
],
[
"e",
"4d28c7021c2d4484889f0b1e7e2ae2329d53f35352c4b2dced07c265e2a81be1",
"",
"reply"
],
[
"p",
"b90f2d271b23238ca51dfa3cfc6aeed89bdf580270c96c50f9e0d9ca0d379d7f"
],
[
"p",
"259fad9ff061fe6636af2d93da9e3d96f31035ec9796941fe55c2a1874fe5a3c"
]
],
"content": "There should be no harm in using Next even if you are building something strictly front end. The workflow is practically identical to a create-react-app project if you use the Pages directory (which I recommend over the new App directory for your case). If anything, you'll benefit from server side rendering!\n\nIf you are looking to minimize bundle size as much as possible, however, Preact-vite or Preact-astro should be good as mentioned before. It's a 3kb version of React, so there's nothing more to learn to use it :)",
"sig": "028a19346a7a3ebc133a0793ed9216ffcc69894727a7337294068ac4cf012287d10a1b7b9abbbc80297731f62f0e2285233d22913d63bb716f7881d53aaf4aa0"
}