Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bobril

Package Overview
Dependencies
Maintainers
1
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bobril - npm Package Versions

1
32

16.0.0

Diff

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.

bobris
published 14.16.1 •

Changelog

Source

14.16.1

Fixed crash on uncontrolled multi-select.

bobris
published 14.16.0 •

Changelog

Source

14.16.0

Changed useEffect body to be executed inside update frame. Before this change it was run asynchronously after frame using b.asap. This converts useEffect into another lifecycle method after postUpdateDom. Difference is that postUpdateDom (useLayoutEffect) can trigger another synchronous Render, but useEffect is executed always only once as last. Calling deferSyncUpdate from useEffect body does not have any effect.

bobris
published 14.15.0 •

Changelog

Source

14.15.0

b.setIsArrayVdom is better typed to support TS 4.1.x

better typed dropEffect and effectAllowed in DnD

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