Comments (6)
Ok, right now I'm separating Rogue it into three repos: rogue-app
, rogue-hocs
, and rogue-cli
Rogue app will allow you to use Rogue programmatically so that it can be used with any build system; similar to a Razzle+Afterjs combo, you can do a Razzle+Rogue combo
Rogue hocs will have plugins for tools that need SSR support, such as Apollo, Redux, etc
Rogue cli will continue its work with parcel-ssr so that in the near future can provide a Nextjs-like experience for users
I believe this is the best path forward. We'll be able to land a stable version of Rogue sooner, yet still keep the option of providing a greater ssr cli experience with Parcel. And if Jasper, as mentioned above, decides to make Blazingly a ssr build system for Parcel, then we can use it to power Rogue, and the experience will be much better than if we tried to do everything immediately ourselves
from rogue.js.
@alidcastano hello ! For your informations, here are the reasons i tried rogue :
- with Next I'm struggling with SSR + apollo : vercel/next.js#4725
- I love the idea of allowing getInitialProps to be used at any tree level
- I dislike the Next.js routing and Next/link, I love React Router 4 ...
- I'm always using Apollo and Redux so i would like them to work out of the box rather than copy pasting stuff from examples directory
- it's not easy to change location of "pages directory" and i prefer having a "src" directory for my whole app.
I did not try Razzle and dont know how it will look like to work with rogue + razzle, but i don't care about how SSR is working under the hood or Parcel as long as i can automate build + ssr steps.
from rogue.js.
I really love if Rogue will become like After.js, no build system, etc.
Just a plain wrapper to SSR React.
I'm currently trying to combine Rogue and After.js (using each other's code) and build them using Razzle (because of needs in my company, using webpack etc., and don't wanna move to parcel)
I can help to contribute if anything seems stable.
Thank you for your hard work! @alidcastano
from rogue.js.
Cool, does sounds like a great way forward!
from rogue.js.
Ok, changes made, docs updated, and packages released
https://github.com/alidcastano/rogue.js/releases/tag/0.4.0
from rogue.js.
quick work!
from rogue.js.
Related Issues (20)
- Open in the browser when the project is initialized
- bundlerUrl: bundle.js: Uncaught SyntaxError: Unexpected token < HOT 4
- Error in browser when calling render on initial load HOT 2
- Implement with Create-react-app? HOT 7
- eliminate walking of tree
- import style.css/scss in App.js? HOT 9
- Odd behavior running with-razzle example HOT 9
- expose way of adding head/script tags in Rogue class HOT 1
- React router dom: "Browser history needs a DOM", in production. HOT 4
- consider support for Vue.js HOT 4
- Add more tests
- Update npm version of rogue-cli HOT 1
- Rogue community? HOT 1
- rogue-cli support plans HOT 2
- issues when importing react-native-web from multiple bundles HOT 2
- Using REST HOT 1
- parcel issues
- Warnings about wrong versions HOT 2
- Server-generated bundle script tag is wrong when the initial URL is not the root page HOT 1
- Preact
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rogue.js.