Introduce a full stack web framework #1646
Replies: 7 comments 16 replies
-
thanks for brining it up. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this thorough write-up @thisislawatts, I agree with your argument and support this effort. A few questions:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for raising the discussion, there's a huge amount to unpack here but what it really feels like is the question of server-side rendering vs single-page apps (as that is what most of the tools mentioned are geared towards). I would say all the problems identified can be solved reasonably well within our current systems, just that there may be added benefits from introducing something new. More specifically:
I also think on top of the points raised there are a number of additional potential benefits to be had, particularly around speed and content optimisations, and providing a more secure pattern for server-client data access and modification. Additionally I think there would be some additional risks to consider such as whether the tools we use are likely to be supported in the future or not, and what our options are if we were to determined the tooling we want to use won't support something we need (e.g. how much control/customisation do we have over underlying structures) - given that some of the tools mentioned have up to 1k open github issues (next) I'm sure we won't be alone with our concerns. If I were to cast a vote in the issue overall I'd probably say that nextJS is the only of the options listed that I feel stable enough to commit to longer term (with the added bonus of strong support for turborepo which I would hope could simply our monorepo setup considerably). Although I'm aware @thisislawatts has already spent a considerable amount of time trying to test a migration and not sure where they landed in terms of feasibility. In either case I think I'd still be tempted to implement smaller solutions within our existing ecosystem first as many would facilitate future migration anyways (particularly ejecting CRA and upgrading webpack 4->5) |
Beta Was this translation helpful? Give feedback.
-
Hi! I use a different stack on the backend with very good results:
On the frontend, React and Redux. |
Beta Was this translation helpful? Give feedback.
-
We used https://prerender.io/ for https://gethigher.io (which is all Firebase + Functions). May be worth taking a look at, it was really painless to integrate. |
Beta Was this translation helpful? Give feedback.
-
Just saw this summary pop-up for redwoodJS I'd still be a bit hesitant given that v1.0.0 only released back in April, but still an interesting-looking project Here's the link for the overview the same channel gives for remix. They mention a key use-case they see being for sites that have a lot of statically generated pages, so maybe that does even have the edge of nextJS (?) |
Beta Was this translation helpful? Give feedback.
-
I have experience with Remix.
Can you think of anything else? |
Beta Was this translation helpful? Give feedback.
-
The Problem
The current Platform software is built off of the Create React App (CRA) v4 boilerplate. CRA provides a useful starting point for prototypes and early stage products, the CRA tooling has been instrumental in allowing us to demonstrate the value of the Platform and build out features for our members.
However we are now facing a number of challenges introduced through our current use of CRA, and I believe we're in the perfect place to make a change which supports the next iteration of this project.
Proposal
Adopt one of the emergent full stack open-source frameworks to provide a foundation for the next iteration of Platform. There are plenty to choose from:
We would initially evaluate these solutions by building out a deployable instance which allows us to render the logged out view for our How to and Research pages.
A decision of the viability of this approach should be made by the end of May/June 2022
Solution
Once we've reached a decision on which of the above stacks to proceed with we would want to move the existing functionality. This could then be deployed in production alongside our existing site using a URL like:
https://community.preciousplastic.com/next/how-tos/abc
Out of Scope
During this exercise we will not be consider changes to the folllowing:
emotion
continues to be our preferred tool for styling components.During our assessment of tools going forward we should evaluate solutions on the flexibiity they offer in changing any of the above at a later date.
Risks
Beta Was this translation helpful? Give feedback.
All reactions