translation

This is an AI translated post.

Meursyphus

Flitter 1.0.0 Released: An svg Library to Replace D3

Select Language

  • English
  • 汉语
  • Español
  • Bahasa Indonesia
  • Português
  • Русский
  • 日本語
  • 한국어
  • Deutsch
  • Français
  • Italiano
  • Türkçe
  • Tiếng Việt
  • ไทย
  • Polski
  • Nederlands
  • हिन्दी
  • Magyar

Summarized by durumis AI

  • Flitter is a library that makes data visualization easier in web development, providing widget-based declarative code writing and advanced layout calculation features.
  • The recent 1.0.0 version update has made it even more powerful and easier to use with enhanced SSR support, added GestureDetector and ZIndex features, and performance improvements.
  • Flitter is available in React environments, provides detailed usage instructions and examples on the official documentation site, and communicates with developers through GitHub and Discord communities.

Introducing the Flitter Library

The Birth of Flitter

Data visualization has become an essential element in the modern web development environment. Transforming complex data sets into easy-to-understand formats presents a constant challenge for developers. Flitter was born to meet this challenge. While various data visualization libraries exist, developers often find it difficult to locate features that fully meet their needs among the available options. Even implementing simple charts or diagrams often requires a significant learning burden and time commitment.

Problems Solved by Flitter

Flitter's core goal is to enable developers to easily and quickly implement data visualizations such as charts and diagrams. To this end, Flitter provides two main features:

1. Declarative Code Writing Using Widgets: Flitter introduces a declarative programming model, allowing developers to express their intended visual elements in a simple and intuitive way. This approach applies a paradigm widely accepted in modern web frameworks like React to data visualization.
2. Advanced Layout Calculation: Accurate layout and positioning calculations are crucial in data visualization. Flitter automates complex layout calculations, such as text width inference, allowing developers to focus on more important logic development.

When You Need Flitter

Flitter is ideal for projects with demanding data visualization requirements or situations where quick implementation of simple charts or diagrams is necessary. It also provides a familiar grammar and structure for developers with Flutter experience, maximizing synergy between web and mobile platforms.

Key Updates and Improvements

New Features

  • Enhanced SSR SupportVersion 1.0.0 significantly enhances SSR (Server-Side Rendering) support. While previous versions relied on specific Node.js dependencies, these dependencies have now been completely removed, enabling stable operation in various environments such as Vercel or Cloudflare. This allows developers to easily integrate Flitter into their projects without relying on specific frameworks.
  • GuestureDetector Feature EnhancementFlitter now provides event bubbling effects corresponding to the widget tree. This allows for finer control over user interactions and provides developers with greater flexibility in implementing complex interactions.
  • Added ZIndex WidgetPreviously, SVG did not directly support the z-index property. Flitter 1.0.0 circumvents this limitation through the ZIndex widget, enabling developers to clearly control the vertical stacking priority of elements.

Performance Improvements

  • Flitter significantly improves the initial rendering speed and interactive performance of diagrams. Performance optimization has been prioritized, including a reduction in rendering time for complex diagrams from 140ms to 30ms.
  • Batch processing is implemented when state changes occur within one call stack, reducing the number of re-renders.

Major Bug Fixes

  • Fixed an issue where re-rendering did not occur when calling setState within an event handler registered using addPostFrameCallback().
  • Fixed an issue where height was set differently from the parent height when setting height to 100% in browser responsive implementation.

Usage Examples and Documentation

React

To use Flitter in React, install the following two packages:

Importing Widget from flitter-react allows you to easily use Flitter in a React environment.

import { Container, Alignment, Text, TextStyle } from '@meursyphus/flitter';
import Widget from '@meursyphus/flitter-react';

const App = () => {
  return(
    
  );

Detailed documentation and usage examples for getting started with Flitter can be found on the official documentation site. This site provides a wealth of information, ranging from basic usage to advanced features.

Community and Contribution Methods

The Flitter community actively communicates through GitHub and Discord. Developers can suggest features or report bugs directly on GitHub, and the Discord channel allows for sharing ideas and experiences related to Flitter. All contributors play a crucial role in the growth of the Flitter project.

Future Plans and Vision

In the short term, Flitter will focus on bug fixes and performance improvements. Long-term goals include developing enhanced SSR experiences and additional features for data visualization. Flitter's ultimate vision is to revolutionize data visualization accessibility in the web development ecosystem by providing a comprehensive and extensible solution.

Meursyphus
Meursyphus
Meursyphus
Meursyphus
Free ERD Service: Introducing easyrd. (dbdiagram alternative) Introducing easyrd, a free ERD tool. Based on dbml, the open source of dbdiagram, anyone can easily create and share diagram scripts. Currently in beta, new features and UX improvements are planned for the future.

May 8, 2024

Flitto Provides AI Interpretation and Translation Service for Foreign Workers in Collaboration with the Ministry of Employment and Labor Tongyeong Office Flitto is providing AI multilingual interpretation and translation services for foreign workers in collaboration with the Ministry of Employment and Labor Tongyeong Office. This real-time translation service includes terms used in various industries such
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)

April 30, 2024

Essential Figma Plugins: 10 Must-Have Tools for UI/UX Designers Here are 10 recommended Figma plugins for UI/UX designers. We introduce essential plugins such as Autoflow, Unsplash, Icons8, etc., that help you save time and increase efficiency.
Roy Kim
Roy Kim
Roy Kim
Roy Kim

June 11, 2024

Flitto App Launches 'Listening Arcade', a New Service That Rewards Users with Points for Listening to Dialogues and Solving Quizzes Flitto has launched 'Listening Arcade', an interactive quiz service involving listening to audio. This service, available through the Flitto app, allows users to earn points by solving quizzes about sentence translation, language sentence recordings, and
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)
스타트업 커뮤니티 씬디스 (SeenThis.kr)

May 14, 2024

Why You Don’t Need to Design Your Website Responsively If you want to create a mobile-optimized website, try Litly. Litly is a web builder platform that supports building websites in a single environment that adapts to desktop, tablet, and mobile environments without separate design work.
리틀리 블로그|올인원 프로필 링크
리틀리 블로그|올인원 프로필 링크
리틀리 블로그|올인원 프로필 링크
리틀리 블로그|올인원 프로필 링크
리틀리 블로그|올인원 프로필 링크

May 29, 2024

Building an AI Full Stack with Open Source New open source LLM (Large Language Model) models are emerging in the AI ecosystem. Powerful models with open licenses, such as Mistral, Llama, and phi-2, have been released, and various tools to use them are also being developed. From LLM frameworks such
RevFactory
RevFactory
RevFactory
RevFactory

February 5, 2024

[React Hook] useState This document provides a detailed explanation of why React's useState hook re-renders the entire component during re-rendering, how to preserve values, and the internal implementation structure. By analyzing the ReactFiberHooks.js code, you can understand
Sunrabbit
Sunrabbit
Sunrabbit
Sunrabbit

March 14, 2024