
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@d11/flash-client
Advanced tools
Flash Client is a powerful React Native Server Driven UI (SDUI) library that enables dynamic UI updates without app releases. It allows you to define, manage, and render UI components from server configurations while maintaining native performance.
npm install @d11/flash-client
yarn add @d11/flash-client
import { Flash } from '@d11/flash-client';
// Initialize with optional listeners and configuration
Flash.init({
onError: (error) => console.error(error),
onComponentUpdate: (component) => console.log('Component updated:', component),
});
import { Flash } from '@d11/flash-client';
import { MyCustomComponent } from './components';
Flash.registerComponent({
'MyCustomComponent': MyCustomComponent,
});
Flash.setComponentsData([
{
id: 'header_1',
type: 'FlashView',
props: {
style: {
backgroundColor: '#fff',
padding: 16,
},
},
children: [
{
type: 'FlashText',
props: {
text: 'Welcome to Flash!',
style: {
fontSize: 24,
fontWeight: 'bold',
},
},
},
],
},
]);
import { Flash, FlatListInflater } from '@d11/flash-client';
function MatchListScreen() {
const listLayout = Flash.getComponentLayout('match_list');
return (
<FlatListInflater
components={listLayout.components}
data={listLayout.data}
style={listLayout.styles}
overrides={listLayout.overrides}
flatListProps={{
keyExtractor: (item, index) => `match-${index}`,
showsHorizontalScrollIndicator: false,
}}
/>
);
}
import { FlashComponent } from '@d11/flash-client';
function DynamicBlock({ layout }) {
return (
<FlashComponent
name={layout.name}
data={layout.data}
components={layout.components}
styles={layout.styles}
overrides={layout.overrides}
/>
);
}
Components in Flash Client follow a specific structure:
Component = {
name: string;
components?: Array<Component>; // Nested children
styles?: Style;
overrides?: Overrides;
data?: PropData;
dataId?: string;
}
Flash Client comes with several pre-built components:
FlashView: A basic container componentFlashText: Text rendering componentFlashImage: Image rendering componentScrollInflater: Scrollable containerFlatListInflater: List rendering componentFlash Client is written in TypeScript and provides full type definitions out of the box.
We’re actively working on powerful new features to make Flash even more dynamic and flexible:
Join the DreamSportsLabs Community to chat about flash-client or other DreamSportsLabs libraries.
DreamSportsLabs is committed to building open-source tools that empower developers and businesses. Learn more about us at our website.
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Flash Client - React Native Server Driven UI library
The npm package @d11/flash-client receives a total of 28 weekly downloads. As such, @d11/flash-client popularity was classified as not popular.
We found that @d11/flash-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.