
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@preply/ds-rn-lib
Advanced tools
@preply/ds-rn-lib
DS component library for React Native
Follow the instructions in @preply/ds-workspace.
tl;dr:
import { RootProvider } from '@preply/ds-rn-root';
import { Text } from '@preply/ds-rn-lib';
export const App: FC = () => (
<RootProvider theme="tokyo-ui">
<Text>Hello!</Text>
</RootProvider>
);
yarn add @preply/ds-rn-lib @preply/ds-rn-root
RootProvider
It should wrap the whole app as in the example above and will use the default theme. You can also override the theme by passing it as prop:
<AppProvider theme="tokyo-ui">
Reach out to #design-system-public if you think you can help and keep an eye on DS Confluence for more docs, guides, work in progress, decisions, the works.
You probably want to execute yarn dev
in the root, as per instructions in @preply/ds-workspace.
For quicker - and more focused - feedback, you can also directly use the scripts in this package directory, but make sure you have first executed yarn build
in root, or that you have the root yarn dev
script running in the background.
Details about tools and configurations in @preply/ds-workspace.
We only list the dependencies used directly in tests (metro-react-native-babel-preset
) and some in which we need a specific version to avoid version mismatch and the tests crashing (react
, react-native
, react-test-renderer
)
Do NOT add dependencies on linting, testing, building tools unless:
FAQs
Unknown package
The npm package @preply/ds-rn-lib receives a total of 592 weekly downloads. As such, @preply/ds-rn-lib popularity was classified as not popular.
We found that @preply/ds-rn-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.