{"id":332,"date":"2024-09-25T21:02:29","date_gmt":"2024-09-26T04:02:29","guid":{"rendered":"https:\/\/burnhamup.com\/blog\/?p=332"},"modified":"2024-09-25T21:02:29","modified_gmt":"2024-09-26T04:02:29","slug":"trying-nextjs","status":"publish","type":"post","link":"https:\/\/burnhamup.com\/blog\/2024\/09\/trying-nextjs\/","title":{"rendered":"Trying NextJS"},"content":{"rendered":"\n<p>I&#8217;m working on a simple application, and thought React would be helpful. The react docs now recommend you use a framework, and recommended nextJS. I tried it out, but it seems like it&#8217;s really working against my goals for this application. I want something that will run statically without a server, since the API calls should be made from the client. They provide a lot of server features, but it looked like you had ways to turn them off. However I finally hit a snag trying to do static deployment and dynamic routing. I wanted a route like \/post\/&lt;postname> and they really wanted me to be able to enumerate all the possible routes. I think this just wasn&#8217;t what I wanted. <\/p>\n\n\n\n<p>I&#8217;m fairly happy with what React is providing me, so maybe I go with a lighter framework.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on a simple application, and thought React would be helpful. The react docs now recommend you use a framework, and recommended nextJS. I tried it out, but it seems like it&#8217;s really working against my goals for this &hellip; <a href=\"https:\/\/burnhamup.com\/blog\/2024\/09\/trying-nextjs\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/posts\/332"}],"collection":[{"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":1,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burnhamup.com\/blog\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}