Comments (4)
I'm currently refactoring it a bit (simpler configuration) and hope to get the work done very soon so I can start using the generator in places. I've actually pushed a lot of weight from the core during this process. This has given a nice degree of flexibility that I like. I'm also adding some tests in place so it's easier to contribute if someone wants to.
There's no official road map but I have at least the following concerns in mind:
- Performance - Now it generates initial bundle and then uses that to generate each page. I believe it would be better to parallelize this (worker process, nothing special) and generate a bundle per instance (less to parse). This won't help with Travis or single threaded platforms but it would likely help in my personal usage.
- Routing - The current approach doesn't give you that SPA feeling. I think a little different approach may be required. Possibly a router could be implemented on top of a generated site although I can also consider generating JSON etc. to load PWA style.
- Replace React with rapscallion - I gave this a go earlier but I hit some issue with rapscallion. When it's mature enough, moving to it during generation might be a good way to go.
- Incremental generation - Instead of generating the whole site always, it would be good to look into caching at least a part of it. Maybe things like cache-loader can help here. Caching is a difficult problem, though, and I may have to invent new ways to deal with it (compose a site out of fragments that are then invalidated based on change).
Especially the last items might not happen as I don't have to maintain big sites to warrant that style of work. That said, I have to push the performance somehow as a Travis build against the webpack site is far too slow. A part of that might be just a matter of configuration.
from antwar.
It's good to be with the support of the backend(ssr) so that we can get SPA feeling 💯 . But I find the documentation need improving. This configuration is too simple. I find I must learn about it from source code of antwar. 😄
from antwar.
Yeah, the documentation isn't in sync with the implementation at the moment. The source is the best option (esp. the site + smoketest). I imagine adding SSR is far easier now than before.
I've kept Antwar out of sight on purpose as there are far more robust alternatives out there as it's not cheap to support these kind of projects (no business model). 👍
from antwar.
That's all right. Hope it will be better in future and I will focus on this project 👍
from antwar.
Related Issues (20)
- Cannot read property 'children' of undefined HOT 1
- Allow partial references to Markdown HOT 1
- Live examples? HOT 1
- ETIMEDOUT getting started HOT 2
- Site descriptions render unprocessed markdown HOT 3
- Site does not shrink to smaller screen sizes
- How to specify devtool for built JavaScript? HOT 2
- Reflect Content Structure in Routing Structure HOT 7
- Relative Links in Development vs. Production HOT 5
- Support Index Page Processing HOT 8
- Missing Title in Head
- Roadmap HOT 3
- Push redirects to a webpack plugin HOT 1
- React 16 HOT 2
- Antwar Interactive ID Resolving Bug HOT 1
- Use template-literal instead of EJS HOT 2
- Shared vendor bundle HOT 1
- Set title and description via rendered page
- Generated paths (js, and interactives) are not using the "publicPath" webpack config HOT 1
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 antwar.