Inflist, an experiment using PureScript and React

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • purescript-inflist

    An infinitely nestable todo list written in PureScript + React

  • If you are curious, there is a GitHub repo with a decently commented code and a live example you can play with šŸ˜Ž.

  • Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  • And finally, for the styles I opted for the most famous Tailwind CSS.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • purescript-halogen

    A declarative, type-safe UI library for PureScript.

  • First of all I had to choose what to use to manage the User Interface. I narrowed down to two modules: Halogen and react-basic-hooks (which is a ā€œwrapperā€ of the unmaintained react-basic). I decided to go with react-basic-hooks just because I work with React on a daily basis and I wanted to understand its interoperability with PureScript. I will 10/10 try Halogen too in the next future since as far as I can see is the most famous and maintained in the PureScript community.

  • purescript-react-basic-hooks

    An implementation of React hooks on top of purescript-react-basic

  • First of all I had to choose what to use to manage the User Interface. I narrowed down to two modules: Halogen and react-basic-hooks (which is a ā€œwrapperā€ of the unmaintained react-basic). I decided to go with react-basic-hooks just because I work with React on a daily basis and I wanted to understand its interoperability with PureScript. I will 10/10 try Halogen too in the next future since as far as I can see is the most famous and maintained in the PureScript community.

  • redux-saga

    An alternative side effect model for Redux apps

  • The most ā€œunstableā€ part is probably the logic dealing with the storage. There is a persistence layer inside Inflist passed around as a dependency, and its only implementation is using the Local Storage as anticipated. This layer is executed directly through the React components using native hooks like useAff, and thus managed by the React lifecycle events. This can definitely be improved using a more solid approach from libraries like Redux-Saga.

  • purescript-react-basic

    An opinionated set of bindings to the React library, optimizing for the most basic use cases

  • First of all I had to choose what to use to manage the User Interface. I narrowed down to two modules: Halogen and react-basic-hooks (which is a ā€œwrapperā€ of the unmaintained react-basic). I decided to go with react-basic-hooks just because I work with React on a daily basis and I wanted to understand its interoperability with PureScript. I will 10/10 try Halogen too in the next future since as far as I can see is the most famous and maintained in the PureScript community.

  • use-context-selector

    React useContextSelector hook in userland

  • Another technology I use regularly is Redux. But this time I wanted to manage the global state in a simpler and clearer way just using React hooks. I decided to go with a simple useReducer combined with theuseContextSelector hook which will avoid the whole applicationā€™s re-render caused by the native useContext hook.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • purescript-routing

    A clean, type-safe routing library for PureScript.

  • The navigation is handled through purescript-routing which provides an interface for the PushState API and a convenient way to parse the routes starting from a simple ADT:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Exploring Catalyst, Tailwind's UI kit for React

    3 projects | dev.to | 27 Mar 2024
  • Getting started with NativeWind: Tailwind for React Native

    2 projects | dev.to | 21 Mar 2024
  • Tailwind Color Palette Generator

    13 projects | news.ycombinator.com | 2 Feb 2024
  • TWC is not a revolution butā€¦

    2 projects | dev.to | 27 Dec 2023
  • Styling React 2023 edition

    11 projects | dev.to | 3 Nov 2023