callstack / callstack/component-docs

Support RNW

Open
#30 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
141
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hey

As this project is used for both Paper and Reanimated (both supporting web platform), it would be cool if we could embed web component demos directly in the doc.

Is there a way to customize webpack currently, like a gatsby plugin or something?

Wrapping the webpack config with `withUnimodules` from `import { withUnimodules } from '@expo/webpack-config/addons'` should do the job, see https://github.com/slorber/gatsby-plugin-react-native-web/blob/master/src/gatsby-node.js

That could be a better experience and also a "proof" that web support is good in those libs if user was able to try web support easily.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.