Skip to content
This repository was archived by the owner on Aug 2, 2026. It is now read-only.

v0.2.10

Choose a tag to compare

@l7aromeo l7aromeo released this 11 Sep 04:46
· 360 commits to main since this release

MeoNode UI v0.2.10 – New render API & Constants Update

Release Date: 2025-09-10

What's Added

  • Core: Introduced a top-level render function for a cleaner and simpler API when mounting a MeoNode instance to the DOM. This abstracts away the need to manually call react-dom/client.
    • Before:
      import { createRoot } from 'react-dom/client';
      import { Div } from '@meonode/ui';
      
      const container = document.getElementById('root');
      const root = createRoot(container);
      root.render(Div({ children: 'Hello' }).render());
    • After:
      import { Div } from '@meonode/ui';
      import { render } from '@meonode/ui/client';
      
      const container = document.getElementById('root');
      render(Div({ children: 'Hello' }), container);
  • Constants: Added NO_STYLE_TAGS array and noStyleTagsSet for fast lookup of tags that should not receive styles.

What's Enhanced

  • Core: Improved StyledRenderer integration to check for no-style tags.

What's Changed

  • Helper: Updated CSS property set to rely on constants and respect no-style tags.
  • Package: Dependencies updated to latest versions.
  • Directory: Renamed dataconstants for clarity.
  • File: Renamed cssProperties.tscssProperties.const.ts to better reflect its purpose.

Version Update

  • Incremented version to 0.2.10.

Changelog & Commits