Z 🏴☠️
Z 🏴☠️
See https://twitter.com/username_ZAYDEK/status/1330498963087224839 for context. Syntax looks something like this: `useAutoResize(["xs", "md"])`. This one wouldn’t be too hard but probably requires testing to make sure is working correctly.
Part of the logic needed to implement this is documented here: https://www.notion.so/Intro-to-React-2019-918bdd6954c1459e82caa748178f6455#3d4f31e5ba91410b99e66d8f2d0373ff. The website itself should not be scrollable when modal logic is triggered.
```scss @mixin to-dark-mode { :root[data-theme="dark"] & { $dur: 1200ms; $timing: timing(ease-out, $raw: true); transition: $dur background-color $timing, $dur border-color $timing; } } @mixin to-light-mode { :root:not([data-theme="dark"]) & { $dur: 600ms;...
This one is easy. Look at the Feathericons / Duomo branch and see the esbuild files. All this is is simply adding a `__DEV__` field to the define object.
See https://twitter.com/giuseppegurgone/status/1340611025444491265 for reference. This one is medium difficulty. Basically we want to add two components to the library. `` is basically `{state}` but `` is more advanced. Or it...
The idea is to provide some kind of elegant, modern TypeScript development environment for building prerendered React apps that leverages CSR when needed. Server-side rendering is a non-goal for this...
If we use something like ShellJS https://github.com/shelljs/shelljs we don’t need to worry (as much) about cross browser compatibility and can continue to write ergonomic code.
E.g. `getInitialProps getStaticProps getStaticPaths getServerSideProps`.