Coder Social home page Coder Social logo

Comments (2)

leastbad avatar leastbad commented on July 1, 2024 3

Could I suggest redoing your example so that it doesn't use React? Examples are so often informal documentation for JS libraries and seeing a block of minified script is uninspiring.

At any rate, it's great (for you) that you've completely adopted ES6 package bundling and committed to the transpiling ecosystem, but for the vast majority of web devs this stuff is essentially gibberish and you could reduce pain for these people by just providing a version that isn't encumbered by the need to learn a mountain of concepts to fix what is supposed to be a simple problem.

For @l-g-dev and anyone else still paying attention, this is what you're looking for.

https://gist.github.com/pjforde1978/4545ac76957437d9b6b0e420b70410ee

Thanks so much for building and distributing this!

from fscreen.

rafgraph avatar rafgraph commented on July 1, 2024

It's written in JS, but needs to be transpiled to run in the browser. Currently it's meant to included in a JS project (that would bundle it) and is not available as a script on the window. If you're interested you can make a PR to the build setup to generate a dist version which would be automatically served from https://unpkg.com/fscreen/ and available on the window. It would probably make sense to use Rollup for this https://github.com/rollup/rollup

from fscreen.

Related Issues (19)

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.