Replies: 3 comments
-
About the JSDocs: About "Rewrite in ESModules": Drop SCSS and use CSS: I should add that I consider materializecss a collaborative project and I don't think is correct to just say "following changes are planned in the future"... with a previous discussion with the community, more necessary in this case as these affects to the core of the project. |
Beta Was this translation helpful? Give feedback.
-
I agree with you. Maybe my sentence was a bit directly formulated. I dont want to make crazy changes, but I tried to import materialize into node as ESM and it was not possible. So I found a solution with minimal changes to run in browser AND on node. I will make a PR in the upcoming days. |
Beta Was this translation helpful? Give feedback.
-
My suggestion would be to completely rename the project differently from the original one because, at the moment, it is difficult to search for information, and navigating the internet creates confusion because some resources point to the current project while others point to the old one. I also bet that seeking solutions on Stack Overflow can be tricky as well. |
Beta Was this translation helpful? Give feedback.
-
Hello guys,
following changes are planned in the future:
Drop TypeScript and use JSDocs
Drop TypeScript and use JSDocs instead, due to saving dependencies and
intermediade transpilation step and also good support in VSCode. Also we have already many comments in the code,
which later can also be utilized to generate the documentation.
Rewrite in ESModules
Rewrite to ES Modules to use the library on node and in the browser. So we can import only components we need via import(), in the browser and also in node. To support require() or CommonJS Module we need to transpile from ES Modules to CJS which can be done by Rollup. Check out: https://stackoverflow.com/a/75348391/8830502
Dynamic Component creation and nesting components
Add a static create() function for each component which can be used to dynamically create Components on the server and in the browser. The create function has to return a html string. Dynamic events can be handled then on top of the htmlstring in the client/browser side. Also this can be used to make configurators for each component and documentation.
Create more Components and also build components upon components. This also requires dynamically creating components.
Drop SCSS and use CSS
Drop SCSS and use CSS directly. (Probably not that soon)
What do you think about this changes?
Beta Was this translation helpful? Give feedback.
All reactions