jho406

Results 28 issues of jho406

needs content

The generators already create a redux toolkit store, I'd like move `superglue/lib/actions.ts` to `createAction`. We don't necessarily need to migrate to `createReducer`yet, instead we can make use of [match](https://redux-toolkit.js.org/api/createAction#actioncreatormatch] to...

1.0 Release

The Nav component is an older class based component that has an internal state that looks like this: ``` this.state = { pageKey: initialPageKey, ownProps: {}, } ``` It does...

1.0 Release

Superglue's conversion to typescript is mostly complete. Lets add typescript generators to the mix, the current generators are located [here](https://github.com/thoughtbot/superglue/tree/main/superglue_rails/lib/generators/rails). There are two generators that we need typescript options for...

1.0 Release

There more to add to the [recipes section](https://thoughtbot.github.io/superglue/recipes/modals/). Some ideas: - Add a Link component - Some libraries typically have a `` component, superglue doesn't provide one, instead it encourages...

This allow devs to customize the mini_racer context, e.g, make use of snapshots, additional options, `attach`es, etc.

`navigateTo` requires a page to exist in the `pages` slice in order to successfully navigate. You would have to create a page in the store before calling `navigateTo`. The most...

## context `navigateTo` is function provided by the [NavigationContext](https://github.com/thoughtbot/superglue/blob/main/superglue/lib/components/Navigation.tsx#L158) to help navigate between `pages` that exist in the store. Its the last function that gets called by [visit](https://thoughtbot.github.io/superglue/requests/#visit) to change...