Comments (10)
@cblgh I think that's the best approach to take.
Let a thousand flowers bloom 🌹
from beaker.
I'd prefer if we did not use libraries, although, we could make a secondary repo with a React client. I know @joperron was working on something along these lines the other night.
from beaker.
@lsjroberts I 100% agree about using Prettier.
I was thinking about the prospect of using React for this as well, especially after seeing #42 and #46. I think the main concern is keeping it accessible for newcomers. I think if we can get React plugged in without needing a build system, then it would be a viable option.
The other alternative would be to have multiple example projects using various technologies so people can choose based on their preference.
from beaker.
I think if we can get React plugged in without needing a build system, then it would be a viable option.
Yeah the build stuff is what I want to avoid.
We could use raw react instead of jsx:
React.createComponent('div', { className: 'hello' }, 'Hello')`
The downside is that is still ~160kb of extra stuff. (About ~50kb gzipped if Beaker does that?)
It does also have some pretty handy error handling stuff we can use in React 16.
But still, it may be sensible to see how far we can get with just standard dom apis. A couple of helper functions should reduce the repetition and be easier to understand for new folks. I wouldn't want to exclude anyone who isn't familiar with React.
The other alternative would be to have multiple example projects using various technologies so people can choose based on their preference.
A good idea, but it would be very hard to maintain feature parity. (site note: I was thinking about doing an example in Elm but more as an example of Beaker API usage in Elm.)
from beaker.
@neauoire Agreed. We should be able to do it without them.
from beaker.
@neauoire Wait until you see what I have up my sleeve for Rotonde 🔮
from beaker.
I'm excited to see!
from beaker.
We can probably use Preact for this. The overhead in terms of tooling is pretty hefty but once built it's pretty lean and I think the pros outweigh the cons. Will look into it next weekend!
from beaker.
yeah so just to be clear the rotonde-portal & rotonde-client repos will likely never have any libraries, but a rotonde-portal-preact could be a separate thing and very welcome indeed!
(personally i might build something using choo :3 - we'll see!)
from beaker.
I think web components might be a good fit for the Rotonde view layer. Wouldn’t require any third party libraries.
from beaker.
Related Issues (20)
- Raw dat URLs (not portal names) sometimes appear in the sidebar HOT 6
- Git Still Tracks Files in the .gitignore HOT 1
- fix parsing on @names, dat:// urls HOT 4
- possible to follow someone twice -- then, can't unfollow HOT 3
- Suggestion: Move core logic into seperate Archive HOT 8
- Feeds are being overwritten faster than images have time to load.
- Are you storing feeds in a single JSON file? HOT 3
- Bug: Endless portal list HOT 1
- add tab-complete to @names
- Code of conduct etc HOT 8
- New messages after the initial load should be collapsed HOT 2
- createFileActivityStream is called way more than needed HOT 3
- Images break on spaces in filename HOT 1
- Rotonde with broken index.html? HOT 8
- Refresh Feed HOT 3
- Mentions-ish? HOT 6
- Consider declaring character set in `index.html`
- Handle mime type of image/jpeg for drag and drop
- Timestamp showing incorrect text
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 beaker.