Socket
Socket
Sign inDemoInstall

bobril

Package Overview
Dependencies
Maintainers
1
Versions
313
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bobril - npm Package Versions

1
32

17.0.0-beta.0

Diff

bobris
published 16.1.1 •

Changelog

Source

16.1.1

Fix of regression from 15.0.0 of failure to removing inline style with dash.

bobris
published 16.1.0 •

Changelog

Source

16.1.0

Temporary revert of Bobril 16.0.0

bobris
published 16.0.0 •

bobris
published 15.2.0 •

Changelog

Source

15.2.0

Fix of small problem in router.

ctxClass now have to inherit from BobrilCtx and call its super constructor. But adding disposables in such constructor works again.

components without ctxClass have their ctx instance of BobrilCtx instead of plain object.

bobris
published 15.1.0 •

Changelog

Source

15.1.0

Router URLs now does not have last slash when optional parameter is not defined.

Component now inherit from BobrilCtx which save some bytes from bundle.

bobris
published 15.0.1 •

Changelog

Source

15.0.1

Fix type incompatibility of b.Component and b.IBobrilCtx.

bobris
published 15.0.0 •

Changelog

Source

15.0.0

Breaking change - string styles are not anymore supported { tag: 'div', style: 'color: red' } use objects instead.

Subtle breaking change/optimization - when tsx components render returns Fragment then it is inlined in vdom.

Cleaned up repository from old non npm version. Port old tests.

New dynamic styles feature allowing very efficient update of element inline styles and classes.

<div
    style={() => {
        let s = b.useState(0);
        s((s() + 1) % 101);
        return { opacity: s() * 0.01 };
    }}
>
    Pulsing
</div>

Tsx components can skip component update by returning constant b.skipRender.

function SkipHello(data: { input: string }) {
    if (data.input == "skip") return b.skipRender;
    return <Hello input={data.input}></Hello>;
}

Key down up events have key property (same meaning as KeyboardEvent.key) and is normalized on IE11 and Firefox.

New polyfills for IE11: new Set(array), new Map(array)

Router injectParams function is exported.

bobris
published 14.18.0 •

Changelog

Source

14.18.0

Improved anchor and added Anchor TSX component. (Contrib by https://github.com/keeema)

bobris
published 14.17.0 •

Changelog

Source

14.17.0

Make it typecheck with noUncheckedIndexedAccess.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc