Giter Site home page Giter Site logo

Comments (10)

maxdeviant avatar maxdeviant commented on June 26, 2024 2

@cblgh I think that's the best approach to take.

Let a thousand flowers bloom 🌹

from beaker.

neauoire avatar neauoire commented on June 26, 2024 1

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.

maxdeviant avatar maxdeviant commented on June 26, 2024

@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.

lsjroberts avatar lsjroberts commented on June 26, 2024

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.

lsjroberts avatar lsjroberts commented on June 26, 2024

@neauoire Agreed. We should be able to do it without them.

from beaker.

maxdeviant avatar maxdeviant commented on June 26, 2024

@neauoire Wait until you see what I have up my sleeve for Rotonde 🔮

from beaker.

neauoire avatar neauoire commented on June 26, 2024

I'm excited to see!

from beaker.

joperron avatar joperron commented on June 26, 2024

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.

cblgh avatar cblgh commented on June 26, 2024

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.

webdesserts avatar webdesserts commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.