3 ms·
Cool question. Please take a look at OneScript - https://github.com/astoilkov/OneScript https://github.com/astoilkov/OneScript and share your opinion. I believe
by astoilkov 11y ago
Cool question. Please take a look at OneScript - https://github.com/astoilkov/OneScript https://github.com/astoilkov/OneScript and share your opinion. I believe this is the next step in developing applications. Bringing HTML, CSS and JavaScript in one place where components are modular and small.
- emehrkay 11y agoI like this syntax. How do you pass values to a component and how do you nest components with values and lets say, loop over an array and create a (sub)component? Also, when you embed a component, is there a way to interact with it? This looks cool, keep it up
- astoilkov 11y agoGreat questions. I currently filling the documentation so you could watch the repo or star it and keep an eye on it. The idea is that components will be like objects and elements so you could easily access them. Take a look at this example: <div> { this.each(profiles); <!-- Render all profiles --> <Profile> } <div> { this.find('Profile').setIsMyProfile(true); <!-- render personal profile --> My profile. <Profile> }
- j1e 11y ago" I believe this is the next step in developing applications." Agreed - encapsulation is key to managing complexity.