Comments (4)
Some notes here after trying out Next.js in #64 and then switching back to using x0 in #65 with examples broken out into individual files:
- Next was great up until I tried exporting the site and ran into a bunch of issues with component examples that use Kit's
<Details>
element. I ended up having to comment those out to get it exporting. - I much prefer the way that Next allows you to customize the HTML template to how x0 does it: Next does it in React, but x0 does it with a function that takes a bunch of props but returns a string (presumably so that you can change the doctype?).
- Both x0 and Next.js support filesystem-based routing and exports, but I couldn't get either to work the way I expected/wanted them to. đ¤
from react.
Update: I got routing working as we'd like, but even when examples route to /primer-react/components/Box
, the permalink still doesn't work
from react.
Did you try this? #84 (comment)
from react.
Hey hey, this works! E.g. https://primer.github.io/primer-react/components/Details đ
from react.
Related Issues (20)
- `colorSchemes` calculation slows down initial load
- IconButton is using color `fg.default` instead of `fg.muted` HOT 2
- Simplify custom-element react bindings with util
- PageLayout doesn't extend the sidebar divider when extending the height.
- Deprecate and remove the input `contrast` prop HOT 3
- Disabled inputs look the same as enabled inputs in dark themes
- RelativeTime should render some kind of date in SSR HOT 1
- Dialog: Focus shifts unexpectedly on opening HOT 2
- NavList.Item active state should show up as bold, but doesn't. HOT 2
- Sub-component pattern cause error when used in React Server Components HOT 1
- Get ActionBar axe clean
- Type checking is too slow HOT 3
- Clean up custom element styled class names
- Underline nav: Doesn't work well on the smallest breakpoints HOT 8
- Release Tracking
- Setting `required` to `input` element within `TextInput` HOT 2
- TypeError: CSS.supports is not a function when running Jest tests HOT 1
- Active `NavList.Item` is incorrectly missing bold styling HOT 4
- The theme object inflates bundle size. HOT 1
- Release Tracking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.