-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status of this project #557
Comments
I do not think that someone will continue to maintain this repository. Although the project is cool in my opinion. react-router v6 + react18. You need to find the strength in yourself to go to streams 😄 |
hello everyone what features do you guys need? I mean what should be the next features we add to the library except for upgrading the deps to latest versions (react and react-router and ...) remix framework solves a lot of issues and has a lot of good apis that are available in react router as well, this means we can integrate them into after js. but if we just copy whatever they have, we will endup with remix again. it's like inventing the wheel from scratch the question is what should be the goal of this project in 2023? what should be features that makes this librray different and better from other solutions around? the only problem that I have right now is, I don't know which way should this library go. give me ideas, roadmaps, a goal |
For us just updating the dependencies would be great. We don't necessarily need a lot of features, just bug fixes and keeping up with dependency updates. |
@nimaa77 hi, In my mind I see it like this:
Ready to discuss any possibilities and offer any assistance. Therefore, the team and I would very much like the implementation of render to stream. |
I'm on it 😉 |
so if we use React 18 it has support for React lazy and code splitting on the server with suspense react-router (remix router) 6.4 has data routers that are SSR ready This means we can drop support for getInitialProps the scrollToTop will be dropped as well (since we are going to remove getInitialProps), react-router Scroll Restoration will handle that (with way way more control 😍 - this is the best feature) so to summerize it would be: 6 breaking changes in one release
let me know your thoughts |
we can go web server agnostic and use any web server that we want to bootstrap the server (yes this means support for edge runtimes) |
if you think it's a big change, maybe (it might not be possible but I will give it a try) we can keep all the current APIs and only upgrade react and react-router dependencies, so the list of the breaking changes will become:
then I add new APIs (new functions and components available to import) that include all those nice features that come from react-router 6 (nested layouts, scroll restoration, defer API, loader, and ...) if it was too much complicated to implement we can break the release into two smaller breaking ones in the first release, we just upgrade the dependencies |
After giving it a lot of thought, I have come to the conclusion that perhaps we don't need a remix after all. If we want to use it, we can simply go ahead and install it. Additionally, both the remix and the vite integration already exist. I really like this project because it doesn't impose many rules and is not significantly different from a regular React SPA application. I have studied many solutions for SSR, and all of them immerse us in a sea of rules, thus limiting our freedom of action. We have tweaked this solution a bit so that switching between spa and ssr happens without modifications. With our current implementation, it became possible to transfer the project, launch, build without pain, fear and anesthesia from SPA to SSR and back.😄 InitialProps - like useEffect for SPA and fetching data for SSR. It works the same in all modes. Therefore, I believe integrating the latest versions of React and React-DOM with streaming support would be fantastic. Additionally, we could consider using the vite instead of the Razzle but I'm not sure. I think to breathe new life with the plan above |
@MatthewPattell @nimaa77 do you need help with this, I'm actively using this package and would like to get this updates, please let me know so we can move this forward |
Right now, I'm torn between two options. On one hand, I want to follow this plan, but it would require project migrations, which can be more time-consuming. On the other hand, I could implement this plan, which would make the migration of existing projects easier. Currently, I'm in the process of studying these two plans :) As they say, "the road always appears under the feet of those who walk". PS: I would also be interested to know if there is any progress from @nimaa77 . |
Definitely came to the conclusion that it must be There are no problems with |
@MatthewPattell I had some progress regarding the meta tags and head API the biggest challenge that I have right now is that I don't know how to map the dynamic modules to the routes so we can send the <script src="path/to/dynamic/route" /> in the initial HTML that we send to the users Does any one have any ideas about this? |
Hi, sorry guys but I got so immersed in solving problems that I came up with my own framework😂. With your permission, I will leave the link here for study. |
Is there a chance to finish up this project to work with router 6 and react 18? |
Just wondering what the status of this project is? It hasn't been updated for a while and issues aren't being responded to. I assume the main developers have taken a hiatus from development of After.js.
The text was updated successfully, but these errors were encountered: