Izhaki

Results 27 issues of Izhaki

Having spent futile 4 hours trying to use this library in a typescript code base (ES6 module imports), I wonder if anyone has managed, and show how. Seems like @danmarshall...

The docs: For `extendEnv` > Set to false if you don't want to extend the environment variables when providing the env property. For `env`: > Environment key-value pairs. Extends automatically...

help wanted
docs

Was just using this library to write a test. Being TDD, I wrote the test first and was expecting the code to return 500. But the code was never written...

When using SizeMe, it leads to an `onScroll` event from the wrapped component with `scrollTop` set to the element height: # Example I (SizeMe wraps the scrolled component) ``` javascript...

I guess the original idea was to attach `session` to the `req`,so you can read values from it like so: ```js async function getServerSideProps({ req }) { const user =...

Whilst working on an [additional example](https://github.com/Izhaki/iron-session/tree/refactored-example/examples/next.js-embedded-magic-code) ([code at the time of writing](https://github.com/Izhaki/iron-session/tree/d2e7a825f1652f694ede440d3c383124018a8794/examples/next.js-embedded-magic-code)), I've spotted a few possible improvements to the examples in this repo. I know the example is not...

# Currently `withIronSessionApiRoute` API is: ```ts export function withIronSessionApiRoute( handler: NextApiHandler, options: IronSessionOptions, ): NextApiHandler {} ``` And used like this: ```ts export default withIronSessionApiRoute(eventsRoute, sessionOptions); ``` # The issue...

# No references to Redux Toolkit? [Redux Toolkit](https://redux-toolkit.js.org/)(rtk) seems to have many parallels to this project. It is an official redux project. The documented rationale of this project seems to...

As a developer, I have no idea what the term "debugging tests" means. There's _debugging_, there are _tests_, but I know not of _debugging tests_ - **Debugging** - launching a...

Between the problem and proposed solution below, the former is more important - someone else might come up with a better solution. # Background Some moves are illegal. The logic...