purescript-cookbook icon indicating copy to clipboard operation
purescript-cookbook copied to clipboard

An unofficial Cookbook for PureScript

Results 51 purescript-cookbook issues
Sort by recently updated
recently updated
newest added

Parcel `v2.0.0-beta.1` was just released. We'll likely upgrade to the stable version once it's been released: https://github.com/parcel-bundler/parcel/releases

cookbook

Updated react hooks examples to render in `#root` to avoid `body` warning and use new `createRoot` function to avoid deprecation warning. * Two examples had a different `index.html` * The...

Follow-up to #197 The existing code produces a warning in the dev console with [this strategy](https://try.ps.ai/?gist=f42dc4b8e49846de036d0556d8ec4e11): ```purs main :: Effect Unit main = do body

cookbook

The two cat gif examples are based on REST api request to giphy.com. The hardcoded key in use is "banned". https://github.com/JordanMartinez/purescript-cookbook/blob/3bbeca8bfe23d73a5c02d978b1a47286a22df262/recipes/CatGifsReactHooks/src/Main.purs#L72 ```json { "data": [], "meta": { "status": 403, "msg":...

With the goal of consistent formatting and import order across examples the repository is formatted with `purs-tidy`, a dependency and the configuration are added to the repository. Asked upfront if...

**Syntax highlighted code in a Halogen App** ``` HalogenSyntaxHighlightedCode ``` Each recipe name must be unique. Use PascalCase. **Recipe Description** No idea if this would be worthwhile but i'm open...

recipe-request

**Recipe Name** ``` ValueBasedJsonCodecSharedRecordFieldLog ``` **Recipe Description** Just demonstrate what I have done [here](https://try.purescript.org/?gist=54cd7a2586d9cba35a2ebfa25f930b42) (as a solution to garyb/purescript-codec-argonaut#41) so it's easier to find later.

recipe-request

We currently use the `Js` suffix to indicate the recipe is framework-free and runs in the browser, but not on node.**js**. Since node is also "JS", let's use a less...

cookbook

I think we can make these recipes clearer for beginners. One improvement is to apply a background color and label to each component indicating whether it is the "parent" or...

cookbook