-
-
Notifications
You must be signed in to change notification settings - Fork 2
Riot 4 support #1
Comments
Hmm, I was pretty sure it would not be compatibe |
Pretty busy right now, but if I think some time I can have a look. How do we mount a component with riot 4 ? and how do we unmount ? |
Webpack info
Mounting / Unmounting components
Ways to mountFrom a bundled fileimport * as riot from 'riot'
import App from './app.riot'
const mountApp = riot.component(App)
const app = mountApp(
document.getElementById('root'),
{ message: 'Hello World' }
) Using
|
Any updates on this? @libetl |
I have not worked with riot for a while. |
@libetl I downvoted to help you focus on |
Aïe... more than 10 thumbs. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Really busy these days with my regular job. The situation will slightly get better after september 14th. |
Team, I am quite ready to get started now |
@damusix can we chat on discord or zoom when you get a chance ? |
What approach do you consider in order to add the riot 4 support without breaking existing installation with current version? |
dependbot trying to update storybookjs/storybook@a21885f |
Old version is completely different in almost every way. I'll assume you might need to start from scratch. Old riot, you import tags and mount. New riot, you import tags, register, then mount. |
Hey @damusix, What could be good starting points to make appropriate changes alteration? Is there any "support your framework" documentation to see how to start from scratch? |
Start of a doc here: https://docs.google.com/document/d/1fe6uCfpr3mzSnj4jN_uoZqVnyNtjBjfOMxt_ZI7ktL8/edit If somebody wants to add Riot 4 support and it's completely different from Riot 3, I recommend dropping Riot 3 support. If people want to use the old version of Riot, they can also use the old version of Storybook, and there are not enough existing Storybook for Riot users to justify supporting both. |
Thanks @shilman have forked storybook and will go through the document Will come back to this ticket for updates/questions. |
Is your feature request related to a problem? Please describe.
storybookjs/storybook#7193
storybookjs/storybook#7101 (comment)
storybookjs/storybook#7193 (comment)
Describe the solution you'd like
Are you able to assist bring the feature to reality?
Yes, I can...
The text was updated successfully, but these errors were encountered: