Coder Social home page Coder Social logo

Comments (1)

shawntabrizi avatar shawntabrizi commented on July 25, 2024

So far I've thought of it as 1 and 3 but not 2.

This is correct to me.

I think more than that, it could be a general set of examples using the Polkadot JS API.

The principals to me are:

  1. Completely modular design. Every component should be able to be removed or added. Users should be able to paste their "jsx" component into repos or chats, and all you need to do is copy and paste it into this template to work.

  2. Dead, stupid, simple. The components in the UI should favor simplicity in how they are designed and implemented. In some cases, this may not reflect "ultimate production level code". For example, two component may query the same API on their own in order to ensure they remain modular.

  3. It never breaks no matter the Substrate UI it is hooked up to. See #14

What you wrote seems fine, although I think generally anyone can put any component they want into the assuming they follow item 3.

I was, for example, thinking of embedding our first tutorial demo component in here, such that if you have a POE module, the component would pop up. Otherwise, it would hide itself from the user.

from substrate-front-end-template.

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.