17 points milad_shirian | 6 comments | | HN request time: 0.723s | source | bottom

I just released SmartStepper v2 – a declarative and config-based way to handle multi-step forms in React.

It lets you define orchestration (next, previous steps), validation, and views via a single config object. No more if/else spaghetti or scattered state.

GitHub: https://github.com/Miladxsar23/smartstepper Demo: https://smartstepper-demo.vercel.app Docs: https://github.com/Miladxsar23/smartstepper#readme

Would love feedback, suggestions, or examples if anyone tries it!

1. cloudking ◴[] No.44413412[source]
Demo doesn't work: 404: NOT_FOUND Code: DEPLOYMENT_NOT_FOUND ID: cle1::tpv5g-1751207033791-4081486be439
replies(1): >>44424351 #
2. danesparza ◴[] No.44413940[source]
I would love to see a working demo (preferably linked from the README in the repo)
replies(1): >>44424350 #
3. revskill ◴[] No.44414142[source]
FE ecosystem is broken with validation as first-class citizen. Remember that parse, don't validate.

Stop making validation as first-class citizen, use a generic async function instead.

replies(1): >>44424033 #
4. amounderness200 ◴[] No.44414760[source]
Note persistent typo in README on "orchesration". Not enough time to add anything more constructive today, but I've used stepper forms and they're harder to get right than you naively imagine.
replies(1): >>44423813 #
5. milad_shirian ◴[] No.44424350[source]
Oops! The demo link had expired — just redeployed it and it's now live at: https://codesandbox.io/p/sandbox/g8g8c7 Thanks for catching it!